Skip to content

Commit f3a3bbf

Browse files
Tao Zhoualexdeucher
authored andcommitted
drm/amdgpu: enable RAS poison mode for APU
Enable it by default on APU platform. Signed-off-by: Tao Zhou <[email protected]> Reviewed-by: Stanley.Yang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent fc4981b commit f3a3bbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2738,7 +2738,8 @@ static void amdgpu_ras_query_poison_mode(struct amdgpu_device *adev)
27382738
return;
27392739

27402740
/* Init poison supported flag, the default value is false */
2741-
if (adev->gmc.xgmi.connected_to_cpu) {
2741+
if (adev->gmc.xgmi.connected_to_cpu ||
2742+
adev->gmc.is_app_apu) {
27422743
/* enabled by default when GPU is connected to CPU */
27432744
con->poison_supported = true;
27442745
} else if (adev->df.funcs &&

0 commit comments

Comments
 (0)