Skip to content

Commit 13c13bd

Browse files
Xiang Liualexdeucher
authored andcommitted
drm/amdgpu: Enable ACA by default for psp v13_0_6/v13_0_14
Enable ACA by default for psp v13_0_6/v13_0_14. Signed-off-by: Xiang Liu <xiang.liu@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 0c7e053 commit 13c13bd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3785,9 +3785,11 @@ static void amdgpu_ras_check_supported(struct amdgpu_device *adev)
37853785
adev->ras_enabled = amdgpu_ras_enable == 0 ? 0 :
37863786
adev->ras_hw_enabled & amdgpu_ras_mask;
37873787

3788-
/* aca is disabled by default except for psp v13_0_12 */
3788+
/* aca is disabled by default except for psp v13_0_6/v13_0_12/v13_0_14 */
37893789
adev->aca.is_enabled =
3790-
(amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 12));
3790+
(amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 6) ||
3791+
amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 12) ||
3792+
amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 14));
37913793

37923794
/* bad page feature is not applicable to specific app platform */
37933795
if (adev->gmc.is_app_apu &&

0 commit comments

Comments
 (0)