]> Git Repo - linux.git/commitdiff
drm/amdgpu: enable RAS poison mode for APU
authorTao Zhou <[email protected]>
Fri, 20 Oct 2023 09:21:58 +0000 (17:21 +0800)
committerAlex Deucher <[email protected]>
Thu, 26 Oct 2023 22:41:22 +0000 (18:41 -0400)
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]>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

index fe6b44eb66020d7ab204c41ba0ea75a65b1e9c19..f4c2c737b12f5448d56dfacec9a315fcf6bac59d 100644 (file)
@@ -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 &&
This page took 0.059098 seconds and 4 git commands to generate.