projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f5a0a9
)
drm/amdgpu: sriov is forbidden to call disable DPM
author
Monk Liu
<Monk.Liu@amd.com>
Wed, 22 Apr 2020 04:15:23 +0000
(12:15 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 24 Apr 2020 15:42:11 +0000
(11:42 -0400)
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Yintian Tao <yttao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index 88b4e56423026f239f30b72010b7651d03fb633e..2bb1e0c6f3445f38d1a05995ae7f582cdc213db2 100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
+++ b/
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
@@
-1403,6
+1403,9
@@
failed:
static int smu_stop_dpms(struct smu_context *smu)
{
+ if (amdgpu_sriov_vf(smu->adev))
+ return 0;
+
return smu_system_features_control(smu, false);
}