提交 9f7aab6f 编写于 作者: H Huang Rui 提交者: Alex Deucher

drm/amd/powerplay: fix the incorrect checking condition

Signed-off-by: NHuang Rui <ray.huang@amd.com>
Reviewed-by: NKen Wang <Qingqing.Wang@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 54c825a9
......@@ -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)),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册