summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortiancyin <tianci.yin@amd.com>2019-06-20 14:56:17 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-06-24 09:31:43 -0500
commit8ac875db0fdc1cfa55c424b38a81cf5282f3df0b (patch)
tree86f8148341d8b6ca568d6d685c6cb2014444367c
parent73c86d628d6aa3d7162094ef1f0503bda17b506e (diff)
drm/amdgpu: disable gfxoff on navi10drm-next-5.3-2019-06-24
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)
{
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;