[Intel-gfx] [PATCH] CHROMIUM: i915: Initialize panel timing registers if VBIOS did not.
jbarnes at virtuousgeek.org
Thu Oct 7 16:06:04 PDT 2010
On Thu, 07 Oct 2010 23:55:38 +0100
Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Thu, 7 Oct 2010 15:48:14 -0700, Bryan Freed <bfreed at chromium.org> wrote:
> > The time between start of the pixel clock and backlight enable is a basic
> > panel timing constraint. If no VBIOS Table is found, and the Panel Power
> > On/Off registers are found to be 0, assume we are booting without VBIOS
> > initialization and set these registers to something reasonable.
> IIRC, the panel sequence registers are meant to be stored in the VBIOS. So
> if we add the parsing of those to the driver and add the defaults to
> init_vbt_default() then we can check whether PP_ON_DELAYS is valid upon
> device init (module load and resume) and fixup in case the BIOS does not.
Right, those values should be in the VBT. Getting them wrong can
actually damage your panel, so we need to take care here. The whole
point of the power sequencing logic and register lock is to avoid such
That said, I've abused my panels (both LVDS and eDP) pretty hard and
have yet to damage one in any visible way, so stealing some
conservative (i.e. long) delays from an existing VBT will probably work
Jesse Barnes, Intel Open Source Technology Center
More information about the Intel-gfx