]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/psr: Compute Panel Replay/Adaptive Sync coexistence behavior
authorJouni Högander <jouni.hogander@intel.com>
Thu, 4 Dec 2025 10:47:28 +0000 (12:47 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 8 Dec 2025 06:15:59 +0000 (08:15 +0200)
commit5a4236267d0b0e60639bb9fd33f4083a7abf32ed
tree8855c50ed379853b16e1287f7b42ce1b9841fbbd
parent1cc854647450199e20cdbe0fbc3be1f5253d7693
drm/i915/psr: Compute Panel Replay/Adaptive Sync coexistence behavior

Currently we are checking Panel Replay capability DPCD register in
intel_alpm.c and writing PR_ALPM_CTL_ALLOW_LINK_OFF_BETWEEN_AS_SDP_AND_SU
and PR_ALPM_CTL_AS_SDP_TRANSMISSION_IN_ACTIVE_DISABLE in PR_ALPM_CTL
register base on the informaion. Instead of directly accessing
intel_dp->pr_dpcd compute the behavior during psr_compute_config and store
it in intel_crtc_state.

v2:
  - inline added helpers
  - use intel_dp_attached_dp instead of passing as a parameter

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