Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Simona Vetter <simona.vetter@ffwll.ch>
To: "Deucher, Alexander" <Alexander.Deucher@amd.com>
Cc: "stable@vger.kernel.org" <stable@vger.kernel.org>,
	"stable-commits@vger.kernel.org" <stable-commits@vger.kernel.org>,
	"oushixiong@kylinos.cn" <oushixiong@kylinos.cn>,
	"Koenig, Christian" <Christian.Koenig@amd.com>,
	"Pan, Xinhui" <Xinhui.Pan@amd.com>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	DRI Development <dri-devel@lists.freedesktop.org>
Subject: Re: Patch "drm/radeon: Delay Connector detecting when HPD singals is unstable" has been added to the 6.6-stable tree
Date: Fri, 17 Jan 2025 16:11:31 +0100	[thread overview]
Message-ID: <Z4pzIzRg2xpYv2mJ@phenom.ffwll.local> (raw)
In-Reply-To: <BL1PR12MB5144226AD0D6697DBF25ED56F7122@BL1PR12MB5144.namprd12.prod.outlook.com>

On Wed, Jan 08, 2025 at 12:02:03AM +0000, Deucher, Alexander wrote:
> [Public]
> 
> > -----Original Message-----
> > From: Sasha Levin <sashal@kernel.org>
> > Sent: Thursday, January 2, 2025 7:42 PM
> > To: stable-commits@vger.kernel.org; oushixiong@kylinos.cn
> > Cc: Deucher, Alexander <Alexander.Deucher@amd.com>; Koenig, Christian
> > <Christian.Koenig@amd.com>; Pan, Xinhui <Xinhui.Pan@amd.com>; David Airlie
> > <airlied@gmail.com>; Simona Vetter <simona@ffwll.ch>
> > Subject: Patch "drm/radeon: Delay Connector detecting when HPD singals is
> > unstable" has been added to the 6.6-stable tree
> >
> > This is a note to let you know that I've just added the patch titled
> >
> >     drm/radeon: Delay Connector detecting when HPD singals is unstable
> >
> > to the 6.6-stable tree which can be found at:
> >     http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> >
> > The filename of the patch is:
> >      drm-radeon-delay-connector-detecting-when-hpd-singal.patch
> > and it can be found in the queue-6.6 subdirectory.
> >
> > If you, or anyone else, feels it should not be added to the stable tree, please let
> > <stable@vger.kernel.org> know about it.
> >
> >
> >
> > commit 20430c3e75a06c4736598de02404f768653d953a
> > Author: Shixiong Ou <oushixiong@kylinos.cn>
> > Date:   Thu May 9 16:57:58 2024 +0800
> >
> >     drm/radeon: Delay Connector detecting when HPD singals is unstable
> >
> >     [ Upstream commit 949658cb9b69ab9d22a42a662b2fdc7085689ed8 ]
> >
> >     In some causes, HPD signals will jitter when plugging in
> >     or unplugging HDMI.
> >
> >     Rescheduling the hotplug work for a second when EDID may still be
> >     readable but HDP is disconnected, and fixes this issue.
> >
> >     Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn>
> >     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> >     Stable-dep-of: 979bfe291b5b ("Revert "drm/radeon: Delay Connector detecting
> > when HPD singals is unstable"")
> 
> 
> Please drop both of these patches.  There is no need to pull back a
> patch just so that you can apply the revert.

Since we've just been discussing stable backports at length, how did this
one happen?

949658cb9b69ab9d22a42a662b2fdc7085689ed8 is in v6.11 and 979bfe291b5b in
v6.13-rc1, so there's definitely a need to backport the latter to v6.11.y
and v6.12.y. And maybe there was a cherry-pick of 949658cb9b69ab9d22a42a66
to older stable releases already, but that doesn't seem to be the case. So
what happened here?

Thanks, Sima

> 
> Thanks,
> 
> Alex
> 
> 
> >     Signed-off-by: Sasha Levin <sashal@kernel.org>
> >
> > diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c
> > b/drivers/gpu/drm/radeon/radeon_connectors.c
> > index b84b58926106..cf0114ca59a4 100644
> > --- a/drivers/gpu/drm/radeon/radeon_connectors.c
> > +++ b/drivers/gpu/drm/radeon/radeon_connectors.c
> > @@ -1267,6 +1267,16 @@ radeon_dvi_detect(struct drm_connector *connector,
> > bool force)
> >                       goto exit;
> >               }
> >       }
> > +
> > +     if (dret && radeon_connector->hpd.hpd != RADEON_HPD_NONE &&
> > +         !radeon_hpd_sense(rdev, radeon_connector->hpd.hpd) &&
> > +         connector->connector_type == DRM_MODE_CONNECTOR_HDMIA) {
> > +             DRM_DEBUG_KMS("EDID is readable when HPD
> > disconnected\n");
> > +             schedule_delayed_work(&rdev->hotplug_work,
> > msecs_to_jiffies(1000));
> > +             ret = connector_status_disconnected;
> > +             goto exit;
> > +     }
> > +
> >       if (dret) {
> >               radeon_connector->detected_by_load = false;
> >               radeon_connector_free_edid(connector);

-- 
Simona Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

  reply	other threads:[~2025-01-17 15:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250103004210.471570-1-sashal@kernel.org>
2025-01-08  0:02 ` Patch "drm/radeon: Delay Connector detecting when HPD singals is unstable" has been added to the 6.6-stable tree Deucher, Alexander
2025-01-17 15:11   ` Simona Vetter [this message]
2025-01-17 15:23     ` Greg KH
2025-01-17 15:30     ` Simona Vetter

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=Z4pzIzRg2xpYv2mJ@phenom.ffwll.local \
    --to=simona.vetter@ffwll.ch \
    --cc=Alexander.Deucher@amd.com \
    --cc=Christian.Koenig@amd.com \
    --cc=Xinhui.Pan@amd.com \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=oushixiong@kylinos.cn \
    --cc=simona@ffwll.ch \
    --cc=stable-commits@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox