]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/psr: Allow changing Panel Replay mode without full modeset
authorJouni Högander <jouni.hogander@intel.com>
Thu, 9 Jan 2025 10:35:32 +0000 (12:35 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Tue, 21 Jan 2025 09:55:34 +0000 (11:55 +0200)
commitedbfa38ffa822ab2fe6848a61b339f27a34c4b22
treec2b9979ce79fc6f5caa194b5da91a5d45d309e78
parent4917c46411164dd1aa22611577ab751cb66e04b9
drm/i915/psr: Allow changing Panel Replay mode without full modeset

Currently we are forcing full modeset if Panel Replay mode is changed. This
is not necessary as long as we are not changing sink PANEL REPLAY ENABLE
bit in PANEL REPLAY ENABLE AND CONFIGURATION 1 register. This can be
achieved by entering Panel Replay inactive mode (Live Frame mode) when
Panel Replay is disabled and keep PANEL REPLAY ENABLE bit in PANEL REPLAY
ENABLE AND CONFIGURATION 1 enabled always if panel is just supporting Panel
Replay.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250109103532.2093356-5-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_psr.c