Skip LVDS config parsing on pre-9xx chips.

855GM laptops seems pretty broken when parsing this block.
This commit is contained in:
Zhenyu Wang 2009-03-02 15:26:44 +08:00
parent 55359ef9ab
commit 2d0aa55360
1 changed files with 5 additions and 1 deletions

View File

@ -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;