Skip to contentSkip to conversation

drm/amdgpu: don't enable runtime pm on navi12

PATCH New Alex Deucher 1 participant 1 message Feb 27, 2020

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

PATCH 1/1 drm/amdgpu: don't enable runtime pm on navi12

BACO for power savings is not supported on navi12.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2 -1
index c4f9d0e32383..eebf6ad04a78 100644
@@ -176,7 +176,8 @@ int amdgpu_driver_load_kms(struct drm_device *dev, unsigned long flags)
 		 (amdgpu_runtime_pm != 0) &&
 		 (adev->asic_type >= CHIP_TOPAZ) &&
 		 (adev->asic_type != CHIP_VEGA20) &&
-		 (adev->asic_type != CHIP_ARCTURUS)) /* enable runpm on VI+ */
+		 (adev->asic_type != CHIP_ARCTURUS) &&
+		 (adev->asic_type != CHIP_NAVI12)) /* enable runpm on VI+ */
 		adev->runpm = true;
 	else if (amdgpu_device_supports_baco(dev) &&
 		 (amdgpu_runtime_pm > 0))  /* enable runpm if runpm=1 on CI */
Signature · 6 lines
2.24.1

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