summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-07-21 16:40:55 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-07-21 16:40:55 +0200
commit147ef45873868a0df9216dac0370ada1ed835590 (patch)
treed8b0016c9f10d86022b85d228a2b57e9946c7fba
parent03f8208ab0a3ea77a8b30dd1c3fe2b62892f9d8c (diff)
NV50: don't fail on LVDS by default
-rw-r--r--linux-core/nouveau_bios.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/linux-core/nouveau_bios.c b/linux-core/nouveau_bios.c
index 370d6522..faa2b2b0 100644
--- a/linux-core/nouveau_bios.c
+++ b/linux-core/nouveau_bios.c
@@ -341,11 +341,12 @@ parse_dcb_entry(struct drm_device *dev, int index, uint8_t dcb_version, uint16_t
entry->lvdsconf.use_power_scripts = true;
}
if (conf & mask) {
- DRM_ERROR(
- "Unknown LVDS configuration bits, please report\n");
- /* cause output setting to fail, so message is seen */
- dev_priv->dcb_table.entries = 0;
- return false;
+ if (dcb_version < 0x40) { /* we know g80 cards have unknown bits */
+ DRM_ERROR("Unknown LVDS configuration bits, please report\n");
+ /* cause output setting to fail, so message is seen */
+ dev_priv->dcb_table.entries = 0;
+ return false;
+ }
}
break;
}