]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/psr: Move sink PSR and Panel Replay booleans to intel_connector
authorJouni Högander <jouni.hogander@intel.com>
Thu, 4 Dec 2025 10:47:32 +0000 (12:47 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 8 Dec 2025 06:16:02 +0000 (08:16 +0200)
commit2691ec6792d10340618a900d79417b058811507b
tree540377cb9140fbc542ac42b351ff55b53240bc9f
parent93bba79e177159821c5b57f9b6632de1fd1d5e8b
drm/i915/psr: Move sink PSR and Panel Replay booleans to intel_connector

As a preparation for MST Panel Replay we need to move Panel Replay sink
related data into intel_connector. Move sink support booleans as well
into intel_connector. Generally this is more correct place for this data so
move PSR versions as well.

Still sink_support and sink_panel_replay_support are kept to keep CAN_PSR
and CAN_PANEL_REPLAY macros. Plan is to keep them that way as they are
widely used from patch where connector is not available.

Later we might want to clear intel_dp->psr.sink_panel_replay_support if any
of the devices in branch is not supporting Panel Replay (mst).

v2:
  - commit message updated
  - Extra w/s removed

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251204104733.1106145-8-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_psr.c