mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 15:19:26 -04:00
drm/i915/display: Disable PSR before disabling VRR
As per bspec 49268: Disable PSR before disabling VRR. Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://lore.kernel.org/r/20250324133248.4071909-4-ankit.k.nautiyal@intel.com
This commit is contained in:
@@ -1174,6 +1174,8 @@ static void intel_pre_plane_update(struct intel_atomic_state *state,
|
||||
intel_atomic_get_new_crtc_state(state, crtc);
|
||||
enum pipe pipe = crtc->pipe;
|
||||
|
||||
intel_psr_pre_plane_update(state, crtc);
|
||||
|
||||
if (intel_crtc_vrr_disabling(state, crtc)) {
|
||||
intel_vrr_disable(old_crtc_state);
|
||||
intel_crtc_update_active_timings(old_crtc_state, false);
|
||||
@@ -1184,8 +1186,6 @@ static void intel_pre_plane_update(struct intel_atomic_state *state,
|
||||
|
||||
intel_drrs_deactivate(old_crtc_state);
|
||||
|
||||
intel_psr_pre_plane_update(state, crtc);
|
||||
|
||||
if (hsw_ips_pre_update(state, crtc))
|
||||
intel_crtc_wait_for_next_vblank(crtc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user