gma500 suspend to ram fails (3.4)

Mattia Dongili malattia at linux.it
Mon Jul 2 15:11:32 PDT 2012


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.

-- 
mattia
:wq!


More information about the dri-devel mailing list