mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 21:44:23 -04:00
drm/amd/powerplay: fix the incorrect checking condition
Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -4170,7 +4170,7 @@ int iceland_unforce_dpm_levels(struct pp_hwmgr *hwmgr)
|
||||
return -1);
|
||||
}
|
||||
|
||||
if (0 == data->pcie_dpm_key_disabled) {
|
||||
if (0 == data->mclk_dpm_key_disabled) {
|
||||
PP_ASSERT_WITH_CODE((0 == smum_send_msg_to_smc(
|
||||
hwmgr->smumgr,
|
||||
PPSMC_MSG_MCLKDPM_NoForcedLevel)),
|
||||
|
||||
Reference in New Issue
Block a user