[PATCH] drm/amdgpu: don't enable runtime pm on navi12
Alex Deucher
alexdeucher at gmail.com
Thu Feb 27 15:00:57 UTC 2020
BACO for power savings is not supported on navi12.
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
index c4f9d0e32383..eebf6ad04a78 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
@@ -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 */
--
2.24.1
More information about the amd-gfx
mailing list