summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorJiansong Chen <Jiansong.Chen@amd.com>2020-08-12 10:57:32 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-08-18 23:58:59 +0300
commit9c9b17a7d19a8e21db2e378784fff1128b46c9d3 (patch)
tree8f8a4983b7f10fe555b2863488bf6525fee30046 /drivers/gpu
parentf41ed88cbd6f025f7a683a11a74f901555fba11c (diff)
downloadlinux-9c9b17a7d19a8e21db2e378784fff1128b46c9d3.tar.xz
drm/amdgpu: disable gfxoff for navy_flounder
gfxoff is temporarily disabled for navy_flounder, since at present the feature has broken some basic amdgpu test. 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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 65997ffaed45..142ffe2da758 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@ -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;
}