amdgpu/pm: Disallow managing power profiles on SRIOV for Sienna Cichlid
authorDanijel Slivka <danijel.slivka@amd.com>
Thu, 5 May 2022 14:45:32 +0000 (16:45 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 May 2022 21:53:13 +0000 (17:53 -0400)
commit1b85257290f382a78adba1b0a5b59a95cebdfa2f
treec843cc0ac759b6c3540cf8e68bc431524f5f54d3
parentcae5c1ab057197f1dad8524d37906fda3978bcc9
amdgpu/pm: Disallow managing power profiles on SRIOV for Sienna Cichlid

Managing power profiles mode is not allowed in SRIOV mode for Sienna
Cichlid. This patch is adjusting the "pp_power_profile_mode" and
"power_dpm_force_performance_level" accordingly.

Signed-off-by: Danijel Slivka <danijel.slivka@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c