[PATCH] gma500: Prevent endless loop in panel power up sequence

Alan Cox alan at lxorguk.ukuu.org.uk
Sun May 13 08:23:18 PDT 2012


On Sun, 13 May 2012 16:43:31 +0200
Patrik Jakobsson <patrik.r.jakobsson at gmail.com> wrote:

> On Sun, May 13, 2012 at 3:59 PM, Alan Cox <alan at lxorguk.ukuu.org.uk> wrote:
> > We should never get there. In fact we don't want to because if there is
> > np panel the backlight is not initialised either.
> >
> > I'll take a look. I've just fixed a related problem where we wrongly
> > invoked the lid code on non Pouslbo devices.
> 
> Ok, then we better move it to right before backlight init. There might still be
> a problem with devices that have a LVDS mode in VBT but still no panel
> connected. Definitely a corner case but waiting for external hardware in an
> endless loop is scary.

We should fix that anyway and time out.

I've moved the backlight init into psb_device.c, it should probably move
further into psb_device.c

Alan


More information about the dri-devel mailing list