From 8ac875db0fdc1cfa55c424b38a81cf5282f3df0b Mon Sep 17 00:00:00 2001 From: tiancyin Date: Thu, 20 Jun 2019 14:56:17 +0800 Subject: [PATCH] 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 --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.39.5