diff options
author | 2023-10-20 17:21:58 +0800 | |
---|---|---|
committer | 2023-10-26 18:41:22 -0400 | |
commit | f3a3bbf1566c7b6b0f9ac36e8e597c73dc0afdf8 (patch) | |
tree | 96079249741e192c5e5b079f9b7e70d46fa1e9be /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | drm/amdgpu/vpe: correct queue stop programing (diff) | |
download | linux-f3a3bbf1566c7b6b0f9ac36e8e597c73dc0afdf8.tar.gz linux-f3a3bbf1566c7b6b0f9ac36e8e597c73dc0afdf8.tar.bz2 linux-f3a3bbf1566c7b6b0f9ac36e8e597c73dc0afdf8.zip |
drm/amdgpu: enable RAS poison mode for APU
Enable it by default on APU platform.
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Stanley.Yang <Stanley.Yang@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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index fe6b44eb6602..f4c2c737b12f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -2738,7 +2738,8 @@ static void amdgpu_ras_query_poison_mode(struct amdgpu_device *adev) return; /* Init poison supported flag, the default value is false */ - if (adev->gmc.xgmi.connected_to_cpu) { + if (adev->gmc.xgmi.connected_to_cpu || + adev->gmc.is_app_apu) { /* enabled by default when GPU is connected to CPU */ con->poison_supported = true; } else if (adev->df.funcs && |