i915: Add option to bypass vbt table.
authorMathias Fröhlich <Mathias.Froehlich@web.de>
Thu, 1 Mar 2012 05:44:35 +0000 (06:44 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 1 Mar 2012 22:22:30 +0000 (23:22 +0100)
commitc10e408a00bb74c39f4f9b817f2b948851513377
treef86a351e1487e472bb823f252730f94dfe4cdad6
parentc501ae7f332cdaf42e31af30b72b4b66cbbb1604
i915: Add option to bypass vbt table.

This change enables the use of displays where the vbt table just
contains inappropriate values, but either the vesa defaults or
the video=... modes do something sensible with the attached display.

The problem happens with an embedded board that contains vbt bios
tables that do not match the attached display.  Using this change and
the appropriate kernel boot command line they are able to use an
otherwise completely unusable secondary display on that embedded
board.

Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_bios.c