diff options
author | Dave Airlie <airlied@redhat.com> | 2022-12-02 09:12:46 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2022-12-02 09:12:46 +1000 |
commit | c082fbd687ad70a92e0a8be486a7555a66f03079 (patch) | |
tree | f14b9d2efd8f2068dd2f79a352016e415eaa1c6d | |
parent | 65a388250e391b7127efd6751f64f3e4955e43a0 (diff) | |
parent | 9a8cc8cabc1e351614fd7f9e774757a5143b6fe8 (diff) | |
download | lwn-c082fbd687ad70a92e0a8be486a7555a66f03079.tar.gz lwn-c082fbd687ad70a92e0a8be486a7555a66f03079.zip |
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 <airlied@redhat.com>
From: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221201202015.5931-1-alexander.deucher@amd.com
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c index 0b52af415b28..ce64ca1c6e66 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c @@ -156,6 +156,9 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev) break; case IP_VERSION(3, 0, 2): fw_name = FIRMWARE_VANGOGH; + if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && + (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) + adev->vcn.indirect_sram = true; break; case IP_VERSION(3, 0, 16): fw_name = FIRMWARE_DIMGREY_CAVEFISH; |