diff options
author | Dave Airlie <airlied@redhat.com> | 2022-12-02 00:12:46 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2022-12-02 00:12:46 +0100 |
commit | c082fbd687ad70a92e0a8be486a7555a66f03079 (patch) | |
tree | f14b9d2efd8f2068dd2f79a352016e415eaa1c6d /drivers | |
parent | Merge tag 'drm-intel-fixes-2022-12-01' of git://anongit.freedesktop.org/drm/d... (diff) | |
parent | drm/amdgpu: enable Vangogh VCN indirect sram mode (diff) | |
download | linux-c082fbd687ad70a92e0a8be486a7555a66f03079.tar.xz linux-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
Diffstat (limited to 'drivers')
-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; |