aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiansong Chen <Jiansong.Chen@amd.com>2020-08-12 15:57:32 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-08-14 16:22:40 -0400
commitba4e049e63b607ac2e0c070b1406826390d5047e (patch)
tree79dff90277a8d9daf314d126de78f847fced8271
parentdrm/amd/powerplay: bump NAVI12 driver if version (diff)
downloadlinux-ba4e049e63b607ac2e0c070b1406826390d5047e.tar.gz
linux-ba4e049e63b607ac2e0c070b1406826390d5047e.zip
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>
-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 d851fe80eaf4..de6e6de41867 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@ -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;
}