projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
458020d
)
drm/amd/pm: Add VF check to BACO support check
author
Lijo Lazar
<lijo.lazar@amd.com>
Fri, 4 Jun 2021 07:57:50 +0000
(15:57 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:02:27 +0000
(16:02 -0400)
For smuv11, check for VF also during BACO check.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
b/drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
index 362696208fd87afb985cd983a6d880f51e32835a..e1e1c268f6614aba18c83a7af5611b32a69a9407 100644
(file)
--- a/
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
+++ b/
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
@@
-1483,7
+1483,7
@@
bool smu_v11_0_baco_is_support(struct smu_context *smu)
{
struct smu_baco_context *smu_baco = &smu->smu_baco;
- if (!smu_baco->platform_support)
+ if (
amdgpu_sriov_vf(smu->adev) ||
!smu_baco->platform_support)
return false;
/* Arcturus does not support this bit mask */