Commit 541540b9 authored by Sonny Jiang's avatar Sonny Jiang Committed by Alex Deucher

drm/amdgpu: Enable sram on vcn_4_0_2

Enable sram on vcn_4_0_2
Signed-off-by: default avatarSonny Jiang <sonny.jiang@amd.com>
Reviewed-by: default avatarJames Zhu <James.Zhu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a3aded13
...@@ -191,7 +191,7 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev) ...@@ -191,7 +191,7 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev)
fw_name = FIRMWARE_VCN4_0_2; fw_name = FIRMWARE_VCN4_0_2;
if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) &&
(adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG))
adev->vcn.indirect_sram = false; adev->vcn.indirect_sram = true;
break; break;
case IP_VERSION(4, 0, 4): case IP_VERSION(4, 0, 4):
fw_name = FIRMWARE_VCN4_0_4; fw_name = FIRMWARE_VCN4_0_4;
......
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