gma500 suspend to ram fails (3.4)
Mattia Dongili
malattia at linux.it
Mon Jul 2 15:29:36 PDT 2012
On Tue, Jul 03, 2012 at 07:11:31AM +0900, Mattia Dongili wrote:
> On Mon, Jul 02, 2012 at 11:43:04AM +0100, Alan Cox wrote:
> > On Mon, 2 Jul 2012 07:06:59 +0900
> > Mattia Dongili <malattia at linux.it> wrote:
> ...
> > > a did put some printks here and there and psb_driver_init seems to
> > > never return from gma_backlight_init.
> >
> > Is it ok if you just comment out gma_backlight_init (at which point it
> > should just skip backlight handling and leave the firmware configured
> > one)
>
> ha! that gave me a good lead.
> The problem is not gma_backlight_init but rather psb_modeset_init that
> calls the errata for the chip that in turn sets the brightness before
> any initialization is done.
>
> Commenting out the call to dev_priv->ops->errata in framebuffer.c makes
> boot get to the end like it used to on 3.4. It seems to be just an
> ordering problem in the end.
and back to the original issue, with 3.5 the laptop suspends to ram just
fine! finally this vaio X may be of some use!!
I can test patches for the errata call issue if you need any
confirmation.
--
mattia
:wq!
More information about the dri-devel
mailing list