summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSonny Jiang <sonny.jiang@amd.com>2022-09-29 19:26:45 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-09-29 22:05:11 +0300
commit541540b9045c2665d6736a77c776ac81d4225eec (patch)
treeb2e2e59a53ca19f967c66924a29413206d44986f /drivers
parenta3aded135e84a581ba567c30ecddff47c8b6cfcf (diff)
downloadlinux-541540b9045c2665d6736a77c776ac81d4225eec.tar.xz
drm/amdgpu: Enable sram on vcn_4_0_2
Enable sram on vcn_4_0_2 Signed-off-by: Sonny Jiang <sonny.jiang@amd.com> Reviewed-by: James Zhu <James.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
index f36e4f08db6d..0b52af415b28 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
@@ -191,7 +191,7 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev)
fw_name = FIRMWARE_VCN4_0_2;
if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) &&
(adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG))
- adev->vcn.indirect_sram = false;
+ adev->vcn.indirect_sram = true;
break;
case IP_VERSION(4, 0, 4):
fw_name = FIRMWARE_VCN4_0_4;