Skip to contentSkip to conversation

drm/amdgpu: disable gfxoff on navi10

PATCH In review Tianci Yin 2 participants 2 messages Jun 24, 2019 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Tianci Yin

author
#0 lore raw

PATCH 1/1 drm/amdgpu: disable gfxoff on navi10

From: tiancyin <[email protected]>

The gfxoff brings unstability, disable it by default

Change-Id I43bdab0f93d64f7e207f96157665a2bb232f6956
---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +1 -3
index 0090cba..16b2bcc 100644
@@ -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;
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1561378554-10083-1-git-send-email-tianci.yin-5C7GfCeVMHo@public.gmane.org

Reviewed-by Hawking Zhang
#2 lore raw

Regards,
Hawking
-----Original Message-----
From: Tianci Yin <[email protected]>
Sent: 2019年6月24日 20:16
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Yin, Tianci (Rico) <[email protected]>
Subject: [PATCH] drm/amdgpu: disable gfxoff on navi10

From: tiancyin <[email protected]>

The gfxoff brings unstability, disable it by default

Change-Id I43bdab0f93d64f7e207f96157665a2bb232f6956
---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +1 -4
index 0090cba..16b2bcc 100644
@@ -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

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx