RE: [PATCH 14/17] drm/i915/ddi: Reuse helper to compute the HDMI DDI_BUF_CTL config

2025-02-11 Thread Kahola, Mika
> -Original Message- > From: Intel-gfx On Behalf Of Imre > Deak > Sent: Wednesday, 29 January 2025 22.02 > To: intel-gfx@lists.freedesktop.org; intel...@lists.freedesktop.org > Subject: [PATCH 14/17] drm/i915/ddi: Reuse helper to compute the HDMI > DDI_BUF_CTL

[PATCH 14/17] drm/i915/ddi: Reuse helper to compute the HDMI DDI_BUF_CTL config

2025-01-29 Thread Imre Deak
Reuse the existing helper to compute the configuration value of the DDI_BUF_CTL register for HDMI outputs instead of open-coding this. Note that dropping the XE2LPD_DDI_BUF_D2D_LINK_ENABLE flag is ok, since an earlier mtl_ddi_enable_d2d() has set it already and intel_enable_ddi_buf()'s RMW will no