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:
@@ -1483,7 +1483,7 @@ bool smu_v11_0_baco_is_support(struct smu_context *smu)
|
|||||||
{
|
{
|
||||||
struct smu_baco_context *smu_baco = &smu->smu_baco;
|
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;
|
return false;
|
||||||
|
|
||||||
/* Arcturus does not support this bit mask */
|
/* Arcturus does not support this bit mask */
|
||||||
|
|||||||
Reference in New Issue
Block a user