]> git.baikalelectronics.ru Git - kernel.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 13:47:43 +0000 (09:47 -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 037a187aa42f38df3694eea99fbd195567046567..f73ce97212339a1a19fc013cc3b212dc6f6a781a 100644 (file)
@@ -3595,6 +3595,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;
        }