aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-01-29 16:50:25 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-01 08:48:36 +0000
commit5a1e5b6c460dccfd189c7e962281c8cce75da728 (patch)
tree81bd8744666a46ac7a69a4c40f22a3fc7d12782c /drivers/gpu/drm/i915/i915_drv.c
parent309cfea822413a306a5a4e24c2aa832e8e8217a1 (diff)
downloadkernel_samsung_smdk4412-5a1e5b6c460dccfd189c7e962281c8cce75da728.zip
kernel_samsung_smdk4412-5a1e5b6c460dccfd189c7e962281c8cce75da728.tar.gz
kernel_samsung_smdk4412-5a1e5b6c460dccfd189c7e962281c8cce75da728.tar.bz2
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 211de8e..db13d4d 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -52,6 +52,9 @@ module_param_named(lvds_downclock, i915_lvds_downclock, int, 0400);
unsigned int i915_panel_use_ssc = 1;
module_param_named(lvds_use_ssc, i915_panel_use_ssc, int, 0600);
+int i915_vbt_sdvo_panel_type = -1;
+module_param_named(vbt_sdvo_panel_type, i915_vbt_sdvo_panel_type, int, 0600);
+
static bool i915_try_reset = true;
module_param_named(reset, i915_try_reset, bool, 0600);