RE: [PATCH] drm/radeon: Fix regression with suspend/resume

From: Deucher, Alexander
Date: Sat Feb 14 2015 - 01:41:41 EST


> -----Original Message-----
> From: Ross Zwisler [mailto:ross.zwisler@xxxxxxxxxxxxxxx]
> Sent: Friday, February 13, 2015 10:55 PM
> To: Michel DÃnzer
> Cc: linux-kernel@xxxxxxxxxxxxxxx; dri-devel@xxxxxxxxxxxxxxxxxxxxx; Deucher,
> Alexander; Dave Airlie; Lauri Kasanen; Koenig, Christian
> Subject: Re: [PATCH] drm/radeon: Fix regression with suspend/resume
>
> On Fri, 2015-02-13 at 11:41 +0900, Michel DÃnzer wrote:
> > On 13.02.2015 05:30, Ross Zwisler wrote:
> > > This patch reverts the changes made in this commit:
> > >
> > > deadcb36f49b ("drm/radeon: Use two-ended allocation by size, v2")
> > >
> > > That patch caused a regression on my system where the bottom of the
> > > screen flickers after my laptop goes thorough a suspend and resume.
> >
> > What kind of flicker is it? E.g. does it only affect X or also console,
> > does it flicker all the time or only when there is activity, what does
> > it look like, ...
>
> It's kind of hard to describe it precisely, so I made a video. :)
>
> http://youtu.be/ESm9SMnr0do
>
> It only affects X, not the console, and it seems to go away if you log
> out back to the login manager (I'm using GDM on Fedora 20) and back into
> your window manager.

Does a VT switch or forcing a dpms cycle (sleep 5; xset dpms force off) also fix it? It doesn't look related to the patch in question at all. Is the flickering 100% reproducible or does it only happen periodically?

Alex

>
> I've tested with OpenBox, Gnome and KDE, and it happens in all three, so
> it doesn't appear to be related to the window manager.
>
> It does appear to flicker more if you move the mouse, but it still does
> flicker occasionally if you aren't doing anything.