Skip to contentSkip to conversation

drm/amd/amdgpu: Disable GFX_PG on laptop raven part

PATCH New StDenis, Tom 1 participant 1 message Aug 16, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/amdgpu: Disable GFX_PG on laptop raven part

GFX_PG causes visual (and likely memory) corruption on laptop raven parts. Until it's fully diagnosed let's disable it to ensure stable operation.

Tested on a Dell Latitude 5495.

---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/gpu/drm/amd/amdgpu/soc15.c +5 -0
index 77e679920c1c..27a500f75f57 100644
@@ -1138,6 +1138,11 @@ static int soc15_common_early_init(void *handle)
 			adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
 				AMD_PG_SUPPORT_CP |
 				AMD_PG_SUPPORT_RLC_SMU_HS;
+
+		// disable GFX_PG until debugged.
+		if (adev->external_rev_id == 0x21)
+			adev->pg_flags &= ~AMD_PG_SUPPORT_GFX_PG;
+
 		break;
 	case CHIP_ARCTURUS:
 		adev->asic_funcs = &vega20_asic_funcs;
Signature · 6 lines
2.21.0

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