[PATCH] drm/amdgpu: re-enable runtime pm on vega10

Alex Deucher alexdeucher at gmail.com
Fri Apr 24 14:07:32 UTC 2020


It was disabled due to a ROCm failure.  I think that should
be fixed.  Re-enable it.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---

Can anyone verify if the runtime pm issues with ROCm have been fixed?
I'd like to re-enable runtime pm for vega10.

 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
index ea7e72ecaefa..c7f42ff6ab5e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
@@ -172,7 +172,6 @@ int amdgpu_driver_load_kms(struct drm_device *dev, unsigned long flags)
 	else if (amdgpu_device_supports_baco(dev) &&
 		 (amdgpu_runtime_pm != 0) &&
 		 (adev->asic_type >= CHIP_TOPAZ) &&
-		 (adev->asic_type != CHIP_VEGA10) &&
 		 (adev->asic_type != CHIP_VEGA20) &&
 		 (adev->asic_type != CHIP_ARCTURUS)) /* enable runpm on VI+ */
 		adev->runpm = true;
-- 
2.25.3



More information about the amd-gfx mailing list