Re: [3.4-rc1][Regression][intel] Resume from suspend to disk hangson restoring backlight state

From: Daniel Vetter
Date: Mon Apr 02 2012 - 15:04:36 EST


On Mon, Apr 02, 2012 at 09:00:11PM +0200, Maciej Rutecki wrote:
> On poniedziaÅek, 2 kwietnia 2012 o 19:54:02 Daniel Vetter wrote:
> > On Mon, Apr 02, 2012 at 07:39:39PM +0200, Maciej Rutecki wrote:
> > > Last known good: 3.3
> > > Bad kernel: 3.4-rc1
> > > Subsystem: power management/suspend/dri(intel)
> > >
> > > When I resume from suspend to disk then system hangs on this screen:
> > > http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/DSC_5479.jpg
> > >
> > > It does not help SysRq keys. Only I can force power off by hold power
> > > button.
> > >
> > > Dmesg:
> > > http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/dmesg-3.4-rc1.t
> > > xt
> > >
> > > Config:
> > > http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/config-3.4.0-rc
> > > 1
> >
> > Likely a known regression, ppgtt support broke hibernate because my code
> > doesn't restore the ppgtt page directory correctly in the thaw function.
> >
> > Patch:
> > http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-fixes&id=
> > 55a254ac63a3ac1867d1501030e7fba69c7d4aeb
> >
> > Please test whether this fixes your issue. You can also try adding
> > i915.i915_enable_ppgtt=0 to your kernel cmdline.
> >
> > Thanks, Daniel
>
> Patch solves problem.
>
> Now resume hangs later on another subsystem: wireless :D

Woot, I'm off the hook ;-) Thanks for reporting this issue and testing the
patch.

Yours, Daniel
--
Daniel Vetter
Mail: daniel@xxxxxxxx
Mobile: +41 (0)79 365 57 48
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/