drm/i915/dp: Introduce helpers to enable/disable CMN SDP Transmission line

Introduce helpers to program or disable CMN_SDP_TL and stagger registers
using the state stored in crtc_state.

v2:
- Use HAS_COMMON_SDP_TL(display) instead of checking
  crtc_state->dip.cmn_sdp_tl, since 0 is a valid transmission line value.
  (Sashiko)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260915164657.3429075-11-ankit.k.nautiyal@intel.com
This commit is contained in:
Ankit Nautiyal 2026-09-15 22:16:51 +05:30
commit 589a07df22
2 changed files with 58 additions and 0 deletions