mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
drm/i915/psr: Disable PSR on update_m_n and update_lrr
PSR/PR parameters might change based on update_m_n or update_lrr. Disable
on update_m_n and update_lrr to ensure proper parameters are taken into use
on next PSR enable in intel_psr_post_plane_update.
Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15771
Fixes: 2bc98c6f97 ("drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_state")
Cc: <stable@vger.kernel.org> # v6.19+
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260312083710.1593781-2-jouni.hogander@intel.com
This commit is contained in:
parent
9876394f64
commit
65852b56bf
|
|
@ -3112,6 +3112,8 @@ void intel_psr_pre_plane_update(struct intel_atomic_state *state,
|
|||
* - Display WA #1136: skl, bxt
|
||||
*/
|
||||
if (intel_crtc_needs_modeset(new_crtc_state) ||
|
||||
new_crtc_state->update_m_n ||
|
||||
new_crtc_state->update_lrr ||
|
||||
!new_crtc_state->has_psr ||
|
||||
!new_crtc_state->active_planes ||
|
||||
new_crtc_state->has_sel_update != psr->sel_update_enabled ||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user