Commit 557da413 authored by James Zhu's avatar James Zhu Committed by Alex Deucher

drm/amdgpu: enable dpg indirect sram mode on aldebaran

Enable dpg indirect sram mode on aldebaran.
Signed-off-by: default avatarJames Zhu <James.Zhu@amd.com>
Reviewed-by: default avatarLeo Liu <leo.liu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bd937973
...@@ -108,6 +108,9 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev) ...@@ -108,6 +108,9 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev)
break; break;
case CHIP_ALDEBARAN: case CHIP_ALDEBARAN:
fw_name = FIRMWARE_ALDEBARAN; fw_name = FIRMWARE_ALDEBARAN;
if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) &&
(adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG))
adev->vcn.indirect_sram = true;
break; break;
case CHIP_NAVI10: case CHIP_NAVI10:
fw_name = FIRMWARE_NAVI10; fw_name = FIRMWARE_NAVI10;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment