drm/amdgpu: disable gfxoff on navi10

Submitted by Zhang, Hawking on June 24, 2019, 12:17 p.m.

Details

Message ID DM5PR12MB141865B4B5F481A4C5D87E17FCE00@DM5PR12MB1418.namprd12.prod.outlook.com
State New
Headers show
Series "drm/amdgpu: disable gfxoff on navi10" ( rev: 2 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Zhang, Hawking June 24, 2019, 12:17 p.m.
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>


Regards,
Hawking
-----Original Message-----
From: Tianci Yin <tianci.yin@amd.com> 

Sent: 2019年6月24日 20:16
To: amd-gfx@lists.freedesktop.org
Cc: Zhang, Hawking <Hawking.Zhang@amd.com>; Yin, Tianci (Rico) <Tianci.Yin@amd.com>
Subject: [PATCH] drm/amdgpu: disable gfxoff on navi10

From: tiancyin <tianci.yin@amd.com>


The gfxoff brings unstability, disable it by default

Change-Id: I43bdab0f93d64f7e207f96157665a2bb232f6956
Signed-off-by: tiancyin <tianci.yin@amd.com>

---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 0090cba..16b2bcc 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.7.4