From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org, imre.deak@intel.com
Cc: Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH 6.6.y] drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL
Date: Tue, 25 Feb 2025 11:13:44 -0500 [thread overview]
Message-ID: <20250225091539-d02fffb8792ca6dd@stable.kernel.org> (raw)
In-Reply-To: <20250224153112.1959486-2-imre.deak@intel.com>
[ Sasha's backport helper bot ]
Hi,
Summary of potential issues:
⚠️ Provided upstream commit SHA1 does not match found commit
The claimed upstream commit SHA1 (b2ecdabe46d23db275f94cd7c46ca414a144818b) was not found.
However, I found a matching commit: 166ce267ae3f96e439d8ccc838e8ec4d8b4dab73
Note: The patch differs from the upstream commit:
---
1: 166ce267ae3f9 ! 1: 5dcc143132529 drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL
@@ Metadata
## Commit message ##
drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL
+ commit b2ecdabe46d23db275f94cd7c46ca414a144818b upstream.
+
Fix the port width programming in the DDI_BUF_CTL register on MTLP+,
where this had an off-by-one error.
@@ Commit message
Link: https://patchwork.freedesktop.org/patch/msgid/20250214142001.552916-3-imre.deak@intel.com
(cherry picked from commit b2ecdabe46d23db275f94cd7c46ca414a144818b)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
+ (cherry picked from commit 166ce267ae3f96e439d8ccc838e8ec4d8b4dab73)
+ [Imre: Rebased on v6.6.y, due to upstream API changes for
+ XELPDP_PORT_BUF_CTL1() and addition of the XE2LPD_DDI_BUF_D2D_LINK_ENABLE flag]
+ Signed-off-by: Imre Deak <imre.deak@intel.com>
## drivers/gpu/drm/i915/display/intel_ddi.c ##
-@@ drivers/gpu/drm/i915/display/intel_ddi.c: static void intel_ddi_enable_hdmi(struct intel_atomic_state *state,
- intel_de_rmw(dev_priv, XELPDP_PORT_BUF_CTL1(dev_priv, port),
+@@ drivers/gpu/drm/i915/display/intel_ddi.c: static void intel_enable_ddi_hdmi(struct intel_atomic_state *state,
+ intel_de_rmw(dev_priv, XELPDP_PORT_BUF_CTL1(port),
XELPDP_PORT_WIDTH_MASK | XELPDP_PORT_REVERSAL, port_buf);
- buf_ctl |= DDI_PORT_WIDTH(lane_count);
+ buf_ctl |= DDI_PORT_WIDTH(crtc_state->lane_count);
-
- if (DISPLAY_VER(dev_priv) >= 20)
- buf_ctl |= XE2LPD_DDI_BUF_D2D_LINK_ENABLE;
+ } else if (IS_ALDERLAKE_P(dev_priv) && intel_phy_is_tc(dev_priv, phy)) {
+ drm_WARN_ON(&dev_priv->drm, !intel_tc_port_in_legacy_mode(dig_port));
+ buf_ctl |= DDI_BUF_CTL_TC_PHY_OWNERSHIP;
## drivers/gpu/drm/i915/i915_reg.h ##
@@ drivers/gpu/drm/i915/i915_reg.h: enum skl_power_gate {
---
Results of testing on various branches:
| Branch | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.6.y | Success | Success |
next prev parent reply other threads:[~2025-02-25 16:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-24 10:22 FAILED: patch "[PATCH] drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro" failed to apply to 6.6-stable tree gregkh
2025-02-24 15:31 ` [PATCH 6.6.y] drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro Imre Deak
2025-02-25 16:13 ` Sasha Levin
2025-02-25 17:31 ` Imre Deak
2025-03-05 12:57 ` Greg KH
2025-02-24 15:31 ` [PATCH 6.6.y] drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL Imre Deak
2025-02-25 16:13 ` Sasha Levin [this message]
2025-03-05 12:57 ` Greg KH
2025-03-05 15:41 ` [PATCH 1/2] drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro Imre Deak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250225091539-d02fffb8792ca6dd@stable.kernel.org \
--to=sashal@kernel.org \
--cc=imre.deak@intel.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.