[PATCH] gma500: Prevent endless loop in panel power up sequence
patrik.r.jakobsson at gmail.com
Sun May 13 05:37:46 PDT 2012
On Sun, May 13, 2012 at 2:17 PM, Patrik Jakobsson
<patrik.r.jakobsson at gmail.com> wrote:
> Some devices don't have a panel connected to LVDS and thus will never power up.
> This patch checks the power sequence progress bits in PP_STATUS to prevent an
> endless loop on such devices.
"gma500: address the lid code" triggers the lid code and hangs my non-LVDS
system. This patch checks the sequence progress which according to any docs I
can find should work. Unfortunately I cannot observe this on my device with LVDS
because the panel comes up immediately. i915 never checks the sequence progress
but instead retries for 1 sec but I rather not have that in gma500.
If this turns out to be problematic, we can try doing the lid_timer_init right
before gma_backlight_init which should only happen if we have a valid LVDS mode.
More information about the dri-devel