summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeifei Xu <Feifei.Xu@amd.com>2020-03-02 14:51:40 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-03-10 15:55:18 -0400
commit5d11e37c021f925496a3a3c019cadf69435f65ed (patch)
tree80e6e36c843e02eb524d80d285038c56e1dff4c4
parent204eaac625d57d32d8b4c42b57271a359b76db5a (diff)
drm/amdgpu/runpm: disable runpm on Vega10amd-drm-next-5.7-2020-03-10
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>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
index 9f78725fc4b8..fd1dc3236eca 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
@@ -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;