drm/amdgpu: enable RAS poison mode for APU
Subsystems (2)
PATCH 1/1 drm/amdgpu: enable RAS poison mode for APU
Enable it by default on APU platform.
Signed-off-by Tao Zhou <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +2 -1
@@ -2710,7 +2710,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 &&
Signature · 1 line
2.35.1
[AMD Official Use Only - General]
Reviewed-by Stanley.Yang <[email protected]>
Regards,
Stanley
Quoted 33 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Tao Zhou
Sent: Friday, October 20, 2023 6:26 PM
To: [email protected]
Cc: Zhou1, Tao <[email protected]>
Subject: [PATCH] drm/amdgpu: enable RAS poison mode for APUEnable it by default on APU platform.
Signed-off-by Tao Zhou <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +2
-1@@ -2710,7 +2710,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 &&--
2.35.1