]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/display: Panel Replay BW optimization for DP2.0 tunneling
authorAnimesh Manna <animesh.manna@intel.com>
Mon, 30 Mar 2026 13:36:20 +0000 (19:06 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Tue, 7 Apr 2026 09:56:58 +0000 (15:26 +0530)
commitff1b43b7db95650976f9568bb0d62e59ec66e605
tree35d94835326e0ff01aafe1711e8eee5dcb1b42fc
parentaa46f5470cb1c62740dc8e7125b8ae53d151066f
drm/i915/display: Panel Replay BW optimization for DP2.0 tunneling

Unused bandwidth can be used by external display agents for Panel Replay
enabled DP panel during idleness with link on. Enable source to replace
dummy data from the display with data from another agent by programming
TRANS_DP2_CTL [Panel Replay Tunneling Enable].

v2:
- Enable pr bw optimization along with panel replay enable. [Jani]

v3:
- Write TRANS_DP2_CTL once for both bw optimization and panel replay
enable. [Jani]

v4:
- Read DPCD once in init() and store in panel_replay_caps. [Jouni]

v5:
- Avoid reading DPCD for edp. [Jouni]
- Use drm_dp_dpcd_read_byte() and some cosmetic changes. [Jani]

v6:
- Extend the corresponding interface defined in drm_dp_tunnel.c
to query the Panel Replay optimization capability. [Imre]

v7:
- Clear TRANS_DP2_PR_TUNNELING_ENABLE if pr bw optimization
is not allowed. [Jouni]
- Move intel_dp_is_edp() check. [Jouni]

Bspec: 68920
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patch.msgid.link/20260330133620.3750559-4-animesh.manna@intel.com
drivers/gpu/drm/i915/display/intel_display_regs.h
drivers/gpu/drm/i915/display/intel_psr.c