From: tiancyin Date: Thu, 20 Jun 2019 06:56:17 +0000 (+0800) Subject: drm/amdgpu: disable gfxoff on navi10 X-Git-Tag: v5.3-rc1~81^2~10^2~18 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=8ac875db0fdc1cfa55c424b38a81cf5282f3df0b;p=linux.git drm/amdgpu: disable gfxoff on navi10 The gfxoff brings unstability, disable it by default Reviewed-by: Hawking Zhang Signed-off-by: tiancyin 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 81c3b5efd9f5..0061a0e8ab78 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -447,9 +447,7 @@ static void gfx_v10_0_check_gfxoff_flag(struct amdgpu_device *adev) { switch (adev->asic_type) { case CHIP_NAVI10: - if ((adev->gfx.rlc_fw_version < 85) || - (adev->pm.fw_version < 0x002A0C00)) - adev->pm.pp_feature &= ~PP_GFXOFF_MASK; + adev->pm.pp_feature &= ~PP_GFXOFF_MASK; break; default: break;