drm/i915: Override SDVO panel type in VBT
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 29 Jan 2011 16:50:25 +0000 (16:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 1 Feb 2011 08:48:36 +0000 (08:48 +0000)
commit5a1e5b6c460dccfd189c7e962281c8cce75da728
tree81bd8744666a46ac7a69a4c40f22a3fc7d12782c
parent309cfea822413a306a5a4e24c2aa832e8e8217a1
drm/i915: Override SDVO panel type in VBT

Judging by comments in the BIOS, if the SDVO LVDS option h40 is enabled,
then we are supposed to query the real panel type via Int15. We don't do
this and so for the Sony Vaio VGC-JS210J which has otherwise default
values, we choose the wrong mode.

This patch adds a driver option, i915.vbt_sdvo_panel_type, which can be
used to override the value in the VBT.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33691
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c