提交 5952c75b 编写于 作者: E Eric Yang 提交者: Alex Deucher

drm/amd/powerplay: Use correct clock in cz_apply_state_adjust_rules

Signed-off-by: NEric Yang <eric.yang2@amd.com>
Reviewed-by: NEagle Yeh <eagle.yeh@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 ff5e20c2
......@@ -1125,8 +1125,8 @@ static int cz_apply_state_adjust_rules(struct pp_hwmgr *hwmgr,
cz_hwmgr->battery_state = (PP_StateUILabel_Battery == prequest_ps->classification.ui_label);
clocks.memoryClock = hwmgr->display_config.min_core_set_clock != 0 ?
hwmgr->display_config.min_core_set_clock :
clocks.memoryClock = hwmgr->display_config.min_mem_set_clock != 0 ?
hwmgr->display_config.min_mem_set_clock :
cz_hwmgr->sys_info.nbp_memory_clock[1];
cgs_get_active_displays_info(hwmgr->device, &info);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册