drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL
authorImre Deak <imre.deak@intel.com>
Fri, 14 Feb 2025 14:19:52 +0000 (16:19 +0200)
committerImre Deak <imre.deak@intel.com>
Fri, 14 Feb 2025 19:39:05 +0000 (21:39 +0200)
commitb2ecdabe46d23db275f94cd7c46ca414a144818b
tree68111dfcd185750f11ab395a5aa54cbfbc69d967
parent76120b3a304aec28fef4910204b81a12db8974da
drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL

Fix the port width programming in the DDI_BUF_CTL register on MTLP+,
where this had an off-by-one error.

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-3-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/i915_reg.h