Some framework test will fail if enable runpm on Vega10.
Disable it untill issue fixed.

Signed-off-by: Feifei Xu <[email protected]>
Tested-by: Kyle Chen <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
index 0f3563926ad1..7c1e0d9f2c26 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
@@ -175,6 +175,7 @@ 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.17.1

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

Reply via email to