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:
Huang Rui
2016-07-26 16:42:11 +08:00
committed by Alex Deucher
parent 54c825a916
commit 9f7aab6fd3

View File

@@ -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)),