mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
drm/amd/pm: no need to force MCLK to highest when no display connected
Correct the check for vblank short. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Tested-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
This commit is contained in:
parent
09d78dde88
commit
acc7baafeb
@ -3330,7 +3330,8 @@ static int smu7_apply_state_adjust_rules(struct pp_hwmgr *hwmgr,
|
||||
|
||||
disable_mclk_switching_for_display = ((1 < hwmgr->display_config->num_display) &&
|
||||
!hwmgr->display_config->multi_monitor_in_sync) ||
|
||||
smu7_vblank_too_short(hwmgr, hwmgr->display_config->min_vblank_time);
|
||||
(hwmgr->display_config->num_display &&
|
||||
smu7_vblank_too_short(hwmgr, hwmgr->display_config->min_vblank_time));
|
||||
|
||||
disable_mclk_switching = disable_mclk_switching_for_frame_lock ||
|
||||
disable_mclk_switching_for_display;
|
||||
|
Loading…
Reference in New Issue
Block a user