]> www.infradead.org Git - users/willy/pagecache.git/commit
drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro
authorImre Deak <imre.deak@intel.com>
Fri, 14 Feb 2025 14:19:51 +0000 (16:19 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 17 Feb 2025 14:22:43 +0000 (09:22 -0500)
commit879f70382ff3e92fc854589ada3453e3f5f5b601
tree645a3ec864ab2c2adc4d1caa481308e1fed87e6f
parente49477f7f78598295551d486ecc7f020d796432e
drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro

The format of the port width field in the DDI_BUF_CTL and the
TRANS_DDI_FUNC_CTL registers are different starting with MTL, where the
x3 lane mode for HDMI FRL has a different encoding in the two registers.
To account for this use the TRANS_DDI_FUNC_CTL's own port width macro.

Cc: <stable@vger.kernel.org> # v6.5+
Fixes: b66a8abaa48a ("drm/i915/display/mtl: Fill port width in DDI_BUF_/TRANS_DDI_FUNC_/PORT_BUF_CTL for HDMI")
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250214142001.552916-2-imre.deak@intel.com
(cherry picked from commit 76120b3a304aec28fef4910204b81a12db8974da)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/icl_dsi.c