summaryrefslogtreecommitdiff
path: root/src/i830_bios.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2009-03-02 15:26:44 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2009-03-02 15:26:44 +0800
commit2d0aa553609a0e64fa4b2e755b9b1e244e5c3fa1 (patch)
tree17103199d9f6326e5ef2df4090a1a5d9b7f6c6cf /src/i830_bios.c
parent55359ef9ab0a2be42a55e0279835f76a191d6c74 (diff)
Skip LVDS config parsing on pre-9xx chips.
855GM laptops seems pretty broken when parsing this block.
Diffstat (limited to 'src/i830_bios.c')
-rw-r--r--src/i830_bios.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/i830_bios.c b/src/i830_bios.c
index a990ebec..7f20553a 100644
--- a/src/i830_bios.c
+++ b/src/i830_bios.c
@@ -174,9 +174,13 @@ parse_driver_feature(I830Ptr pI830, struct bdb_header *bdb)
struct bdb_driver_feature *feature;
/* For mobile chip, set default as true */
- if (IS_MOBILE(pI830))
+ if (IS_MOBILE(pI830) && !IS_I830(pI830))
pI830->integrated_lvds = TRUE;
+ /* skip pre-9xx chips which is broken to parse this block. */
+ if (!IS_I9XX(pI830))
+ return;
+
feature = find_section(bdb, BDB_DRIVER_FEATURES);
if (!feature)
return;