]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/psr: Do not wait for PSR being idle on on Panel Replay
authorJouni Högander <jouni.hogander@intel.com>
Fri, 6 Sep 2024 07:00:33 +0000 (10:00 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Wed, 11 Sep 2024 09:53:14 +0000 (12:53 +0300)
commita2d98feb4b0013ef4f9db0d8f642a8ac1f5ecbb9
treed35ed97359b0ab81e083bab11e8741005d2c909b
parent91463d74b1318d3513bc06f9da179517505057a9
drm/i915/psr: Do not wait for PSR being idle on on Panel Replay

We do not have ALPM on DP Panel Replay. Due to this SRD_STATUS[SRD State]
doesn't change from SRDENT_ON after Panel Replay is enabled until it gets
disabled.

On eDP Panel Replay DEEP_SLEEP is not reached.
_psr2_ready_for_pipe_update_locked is waiting DEEP_SLEEP bit getting reset.

Take these into account in Panel Replay code by not waiting PSR getting
idle after enabling VBI.

Fixes: 29fb595d4875 ("drm/i915/psr: Panel replay uses SRD_STATUS to track it's status")
Cc: Animesh Manna <animesh.manna@intel.com>
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240906070033.289015-5-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_psr.c