From: Michele Ballabio <ballabio.m@gmail.com>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
regressions@lists.linux.dev,
Maling list - DRI developers <dri-devel@lists.freedesktop.org>,
amd-gfx list <amd-gfx@lists.freedesktop.org>
Subject: Re: AMDGPU: regression on 5.17.1
Date: Wed, 13 Apr 2022 21:41:32 +0200 [thread overview]
Message-ID: <20220413214132.6aaa061a@darkstar.example.org> (raw)
In-Reply-To: <CADnq5_MVO8B-EH70XJ=L6pp7haHz5ZeF1rGFvPEX5nD1+4n1AQ@mail.gmail.com>
On Wed, 13 Apr 2022 14:14:42 -0400
Alex Deucher <alexdeucher@gmail.com> wrote:
> On Wed, Apr 13, 2022 at 1:33 PM Michele Ballabio
> <ballabio.m@gmail.com> wrote:
> >
> > On Mon, 11 Apr 2022 14:34:37 -0400
> > Alex Deucher <alexdeucher@gmail.com> wrote:
> >
> > > On Sat, Apr 9, 2022 at 12:28 PM Michele Ballabio
> > > <ballabio.m@gmail.com> wrote:
> > > >
> > > > On Tue, 5 Apr 2022 10:23:16 -0400
> > > > Alex Deucher <alexdeucher@gmail.com> wrote:
> > > >
> > > > > On Mon, Apr 4, 2022 at 3:39 PM Michele Ballabio
> > > > > <ballabio.m@gmail.com> wrote:
> > > > > >
> > > > > > On Mon, 4 Apr 2022 13:03:41 -0400
> > > > > > Alex Deucher <alexdeucher@gmail.com> wrote:
> > > > > >
> > > > > > > On Sun, Apr 3, 2022 at 10:19 AM Michele Ballabio
> > > > > > > <ballabio.m@gmail.com> wrote:
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > > I've hit a regression on 5.17.1 (haven't tested
> > > > > > > > 5.17.0, but 5.16-stable didn't have this problem).
> > > > > > > >
> > > > > > > > The machine is a Ryzen 5 1600 with AMD graphics (RX
> > > > > > > > 560).
> > > > > > > >
> > > > > > > > The regression I hit seems to trigger when the machine
> > > > > > > > is left idle at boot (I don't boot straight to X, I
> > > > > > > > boot to a tty, login and then start X). The machine
> > > > > > > > after a while blanks the screen. Usually, the screen
> > > > > > > > unblanks as the keyboard is hit or the mouse moves, but
> > > > > > > > with kernel 5.17.1 the screen does not wake up. The
> > > > > > > > machine seems to run mostly fine: I can login from ssh,
> > > > > > > > but I cannot reboot or halt it: a sysrq sequence is
> > > > > > > > needed for that. Note that if the screen goes blank
> > > > > > > > under X, it wakes up fine.
> > > > > > > >
> > > > > > > > Below a dmesg and two traces from syslog (they're quite
> > > > > > > > similar).
> > > > > > >
> > > > > > > Can you bisect? Does setting amdgpu.runpm=0 help?
> > > > > >
> > > > > > I can try to bisect, should I narrow the search to
> > > > > > drivers/gpu/drm/ ?
> > > > >
> > > > > I would just do a full bisect if possible in case the change
> > > > > happens to be outside of drm.
> > > > >
> > > > > >
> > > > > > Setting amdgpu.runpm=0 works, the display now unblanks
> > > > > > without problems.
> > > > >
> > > >
> > > > Hi,
> > > > I bisected this, and the first bad commit is
> > > > [087451f372bf76d971184caa258807b7c35aac8f] drm/amdgpu: use
> > > > generic fb helpers instead of setting up AMD own's.
> > > >
> > > > Let me know if you need some more testing.
> > >
> > > Thanks. Do the attached patches fix the issue?
> > >
> > > Thanks,
> > >
> > > Alex
> >
> > Sorry, no. I applied them both on top of 5.17.1.
>
> Thanks. Please try the attached patch.
>
> Thanks,
>
> Alex
I applied the v2 patch on top of 5.17.1 and it works as expected.
Tested-by: Michele Ballabio <ballabio.m@gmail.com>
Thanks,
Michele Ballabio
prev parent reply other threads:[~2022-04-13 19:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-03 11:23 AMDGPU: regression on 5.17.1 Michele Ballabio
2022-04-04 7:17 ` Thorsten Leemhuis
2022-04-04 17:03 ` Alex Deucher
2022-04-04 19:39 ` Michele Ballabio
2022-04-05 14:23 ` Alex Deucher
2022-04-09 16:28 ` Michele Ballabio
2022-04-09 17:32 ` AMDGPU: regression on 5.17.1 #forregzbot Thorsten Leemhuis
2022-04-11 18:34 ` AMDGPU: regression on 5.17.1 Alex Deucher
2022-04-13 17:33 ` Michele Ballabio
2022-04-13 18:14 ` Alex Deucher
2022-04-13 19:41 ` Michele Ballabio [this message]
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=20220413214132.6aaa061a@darkstar.example.org \
--to=ballabio.m@gmail.com \
--cc=alexdeucher@gmail.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=regressions@lists.linux.dev \
/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;
as well as URLs for NNTP newsgroup(s).