diff options
author | James Zhu <James.Zhu@amd.com> | 2020-12-17 16:18:14 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-23 22:57:15 -0400 |
commit | 557da413d638254c79de9a8032e4422e7ac72359 (patch) | |
tree | 954820737b37e8e8160e30a0da09266c26eab924 /drivers | |
parent | bd937973ebfeefb975d89f9f54c13b82cf6f42f8 (diff) | |
download | linux-stable-557da413d638254c79de9a8032e4422e7ac72359.tar.gz linux-stable-557da413d638254c79de9a8032e4422e7ac72359.tar.bz2 linux-stable-557da413d638254c79de9a8032e4422e7ac72359.zip |
drm/amdgpu: enable dpg indirect sram mode on aldebaran
Enable dpg indirect sram mode on aldebaran.
Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@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.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 7ef255322f54..201645963ba5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c @@ -108,6 +108,9 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev) break; case CHIP_ALDEBARAN: fw_name = FIRMWARE_ALDEBARAN; + if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && + (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) + adev->vcn.indirect_sram = true; break; case CHIP_NAVI10: fw_name = FIRMWARE_NAVI10; |