projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bda8ac
)
drm/amdgpu/sriov: Disable pm for multiple vf sriov
author
Emily Deng
<Emily.Deng@amd.com>
Thu, 11 Jun 2020 03:40:05 +0000
(11:40 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:19 +0000
(
01:59
-0400)
Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Ack-by: Monk.liu <monk.liu@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 8415b383e7ae3473823b7ba341e09e9a300850f5..e514f02ca0d1d239aaa6840d8bb949c4661f9c77 100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
+++ b/
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
@@
-1271,8
+1271,10
@@
static int smu_hw_init(void *handle)
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
struct smu_context *smu = &adev->smu;
- if (amdgpu_sriov_vf(adev) && !amdgpu_sriov_is_pp_one_vf(adev))
+ if (amdgpu_sriov_vf(adev) && !amdgpu_sriov_is_pp_one_vf(adev)) {
+ smu->pm_enabled = false;
return 0;
+ }
ret = smu_start_smc_engine(smu);
if (ret) {