mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 15:13:44 -04: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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user