]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit088a7835a0f87502d2eac6477a05de3c0762b100
tree81bd8744666a46ac7a69a4c40f22a3fc7d12782c
parente8d737804d6791cfbdcdc07c46d09c6541f1e7ae
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