]> www.infradead.org Git - nvme.git/commit
drm/i915/psr: enable sink for eDP1.5 Panel Replay
authorJouni Högander <jouni.hogander@intel.com>
Wed, 19 Jun 2024 06:21:23 +0000 (09:21 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Tue, 25 Jun 2024 05:24:22 +0000 (08:24 +0300)
commit67cf05473704e926d2b5302a68433a6aefde6fc5
tree4df9411ce907349ff4ba0b3ef965c046c698ed8f
parentdfeb3a249f11787b269eb15d0de6c91dc4e3292f
drm/i915/psr: enable sink for eDP1.5 Panel Replay

eDP1.5 allows Panel Replay on eDP as well. Take this into account when
enabling sink PSR/Panel Replay. Write also PANEL_REPLAY_CONFIG2 register
accordingly.

v3:
  - set DP_PANEL_REPLAY_CRC_VERIFICATION in PANEL_REPLAY_CONFIG2
  - PANEL_REPLAY_CONFIG2 is available in DP2.1 as well
v2: do not configure ALPM for DP2.0 Panel Replay

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/20240619062131.4021196-4-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_psr.c