FAILED: patch "[PATCH] drm/i915/cdclk: Avoid spurious cdclk sanitization on PTL+" failed to apply to 7.2-stable tree
[email protected]
maintainerThe patch below does not apply to the 7.2-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
To reproduce the conflict and resubmit, you may use the following commands:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-7.2.y
git checkout FETCH_HEAD
git cherry-pick -x aad969968824e97ba8d70dd7a95691f750438ebd
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<[email protected]>' --in-reply-to '2026090942-slot-trapeze-8273@gregkh' --subject-prefix 'PATCH 7.2.y' 'HEAD^..'
Possible dependencies:
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From aad969968824e97ba8d70dd7a95691f750438ebd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= <[email protected]>
Date: Fri, 17 Jul 2026 18:51:06 +0300
Subject: [PATCH] drm/i915/cdclk: Avoid spurious cdclk sanitization on PTL+
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Apparently PTL+ no longer has the cd2x pipe select field in CDCLK_CTL. Take that into account during CDCLK sanitization.
This currently triggers a spurious CDCLK sanitization during driver load on PTL+ which will causes a visible glitch on all active displays.
drivers/gpu/drm/i915/display/intel_cdclk.c +4 -2
@@ -2381,8 +2381,10 @@ static void bxt_sanitize_cdclk(struct intel_display *display)* dividers both syncing to an active pipe, or asynchronously * (PIPE_NONE). */ - cdctl &= ~bxt_cdclk_cd2x_pipe_mask (display); - cdctl |=bxt_cdclk_cd2x_pipe (display,INVALID_PIPE ); +if (DISPLAY_VER (display) <30 ) { + cdctl &= ~bxt_cdclk_cd2x_pipe_mask (display); + cdctl |=bxt_cdclk_cd2x_pipe (display,INVALID_PIPE ); + }if (cdctl != expected) {if (DISPLAY_VER (display) <20 ) {
Sasha Levin
maintainerPATCH 1/1 drm/i915/cdclk: Avoid spurious cdclk sanitization on PTL+
From: Ville Syrjälä <[email protected]>
[ Upstream commit aad969968824e97ba8d70dd7a95691f750438ebd ]
Apparently PTL+ no longer has the cd2x pipe select field in CDCLK_CTL. Take that into account during CDCLK sanitization.
This currently triggers a spurious CDCLK sanitization during driver load on PTL+ which will causes a visible glitch on all active displays.
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_cdclk.c +4 -2
@@ -2366,8 +2366,10 @@ static void bxt_sanitize_cdclk(struct intel_display *display)* dividers both syncing to an active pipe, or asynchronously * (PIPE_NONE). */ - cdctl &= ~bxt_cdclk_cd2x_pipe (display,INVALID_PIPE ); - cdctl |=bxt_cdclk_cd2x_pipe (display,INVALID_PIPE ); +if (DISPLAY_VER (display) <30 ) { + cdctl &= ~bxt_cdclk_cd2x_pipe (display,INVALID_PIPE ); + cdctl |=bxt_cdclk_cd2x_pipe (display,INVALID_PIPE ); + }if (cdctl != expected) {if (DISPLAY_VER (display) <20 ) {
Signature · 1 line
2.53.0