mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
drm/amd/pm: Add VF check to BACO support check
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>
This commit is contained in:
parent
458020dd4f
commit
52a9fd7bc0
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue