summaryrefslogtreecommitdiff
path: root/src/i830_lvds.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2009-02-25 09:57:00 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2009-02-25 09:57:00 +0800
commitf6d8ae69b0f97e696c142f06c8038f336ed024f9 (patch)
treee3e0cd352970e5cb2d00fec1ccf83ab05e441fa6 /src/i830_lvds.c
parent8718551f14e064b461e80a583597f0ea9fb8ca9f (diff)
Use LVDS config in Driver feature BDB for integrated LVDS check
The LVDS config bits in VBT driver feature block is used by vendor to identify the board implement of integrated LVDS/eDP or SDVO LVDS. And video bios uses these bits for LVDS enabling or not. So check these bits for integrated LVDS might eliminate more quirks.
Diffstat (limited to 'src/i830_lvds.c')
-rw-r--r--src/i830_lvds.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c
index 027bb5de..63533cdc 100644
--- a/src/i830_lvds.c
+++ b/src/i830_lvds.c
@@ -1415,6 +1415,13 @@ i830_lvds_init(ScrnInfoPtr pScrn)
DisplayModePtr lvds_ddc_mode = NULL;
struct i830_lvds_priv *dev_priv;
+ if (!pI830->integrated_lvds) {
+ if (pI830->debug_modes)
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Skipping LVDS from driver feature BDB's LVDS config info.\n");
+ return;
+ }
+
if (pI830->quirk_flag & QUIRK_IGNORE_LVDS)
return;