From: Huang Rui Date: Wed, 30 Sep 2020 16:37:42 +0000 (-0400) Subject: drm/amdgpu: disable gfxoff on vangogh for the moment (v2) X-Git-Tag: v5.11-rc1~206^2~12^2~397 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8447675327f8305aeaeebbd9e570303a219bb44d;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu: disable gfxoff on vangogh for the moment (v2) GFXOFF will be enabled once it's verified on real asic. v2: move check into gfx10 module. Signed-off-by: Huang Rui Reviewed-by: Aaron Liu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index bd4174cd8d4f7..e27d0d56b169f 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -3667,6 +3667,7 @@ static void gfx_v10_0_check_gfxoff_flag(struct amdgpu_device *adev) adev->pm.pp_feature &= ~PP_GFXOFF_MASK; break; case CHIP_NAVY_FLOUNDER: + case CHIP_VANGOGH: adev->pm.pp_feature &= ~PP_GFXOFF_MASK; break; default: