summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorCandice Li <candice.li@amd.com>2025-02-11 16:39:52 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-02-17 14:08:27 -0500
commit59af05d6a391575c5fe48e8ae693ff9cc5c682c9 (patch)
tree01957413804e8fb200f5c40cb649fd8408717dc4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parent7845438718411b0e6e354f77a10a7b8b51b01852 (diff)
downloadlinux-59af05d6a391575c5fe48e8ae693ff9cc5c682c9.tar.gz
linux-59af05d6a391575c5fe48e8ae693ff9cc5c682c9.tar.bz2
linux-59af05d6a391575c5fe48e8ae693ff9cc5c682c9.zip
drm/amdgpu: Enable ACA by default for psp v13_0_12
Enable ACA by default for psp v13_0_12. Signed-off-by: Candice Li <candice.li@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Yang Wang <kevinyang.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index 44d13a60588d..3c3312bbfee8 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -3760,8 +3760,9 @@ init_ras_enabled_flag:
adev->ras_enabled = amdgpu_ras_enable == 0 ? 0 :
adev->ras_hw_enabled & amdgpu_ras_mask;
- /* aca is disabled by default */
- adev->aca.is_enabled = false;
+ /* aca is disabled by default except for psp v13_0_12 */
+ adev->aca.is_enabled =
+ (amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 12));
/* bad page feature is not applicable to specific app platform */
if (adev->gmc.is_app_apu &&