aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortiancyin <tianci.yin@amd.com>2019-06-20 02:56:17 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-06-24 10:31:43 -0400
commit8ac875db0fdc1cfa55c424b38a81cf5282f3df0b (patch)
tree86f8148341d8b6ca568d6d685c6cb2014444367c
parent73c86d628d6aa3d7162094ef1f0503bda17b506e (diff)
drm/amdgpu: disable gfxoff on navi10
The gfxoff brings unstability, disable it by default Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: tiancyin <tianci.yin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c4
1 files changed, 1 insertions, 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)
447{ 447{
448 switch (adev->asic_type) { 448 switch (adev->asic_type) {
449 case CHIP_NAVI10: 449 case CHIP_NAVI10:
450 if ((adev->gfx.rlc_fw_version < 85) || 450 adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
451 (adev->pm.fw_version < 0x002A0C00))
452 adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
453 break; 451 break;
454 default: 452 default:
455 break; 453 break;