Skip to content

Commit c082fbd

Browse files
committed
Merge tag 'amd-drm-fixes-6.1-2022-12-01' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
amd-drm-fixes-6.1-2022-12-01: amdgpu: - VCN fix for vangogh Signed-off-by: Dave Airlie <[email protected]> From: Alex Deucher <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2 parents 65a3882 + 9a8cc8c commit c082fbd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev)
156156
break;
157157
case IP_VERSION(3, 0, 2):
158158
fw_name = FIRMWARE_VANGOGH;
159+
if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) &&
160+
(adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG))
161+
adev->vcn.indirect_sram = true;
159162
break;
160163
case IP_VERSION(3, 0, 16):
161164
fw_name = FIRMWARE_DIMGREY_CAVEFISH;

0 commit comments

Comments
 (0)