drm/amdgpu/runpm: disable runpm on Vega10
authorFeifei Xu <Feifei.Xu@amd.com>
Mon, 2 Mar 2020 06:51:40 +0000 (14:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Mar 2020 19:55:18 +0000 (15:55 -0400)
Some framework test will fail if enable runpm on Vega10.
Disable it untill issue fixed.

Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
Tested-by: Kyle Chen <Kyle.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c

index 9f78725fc4b87df2d3d6f502dfe6fcc8125d433d..fd1dc3236ecae0a4c169677a39cc07fe43cb8d2a 100644 (file)
@@ -172,6 +172,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;