]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/amdgpu: disable gfxoff temporarily for navy_flounder
authorJiansong Chen <Jiansong.Chen@amd.com>
Wed, 30 Sep 2020 07:30:24 +0000 (15:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Sep 2020 17:53:21 +0000 (13:53 -0400)
gfxoff is temporarily disabled for navy_flounder, since
at present the feature caused some tdr when performing
display operations.

Signed-off-by: Jiansong Chen <Jiansong.Chen@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

index 17fb2efdadd3c14ee51aa2499ae8326303d443a6..9792ec737029aa1d57c96f8d9aadea580eec6b46 100644 (file)
@@ -3610,6 +3610,9 @@ static void gfx_v10_0_check_gfxoff_flag(struct amdgpu_device *adev)
                if (!gfx_v10_0_navi10_gfxoff_should_enable(adev))
                        adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
                break;
+       case CHIP_NAVY_FLOUNDER:
+               adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
+               break;
        default:
                break;
        }