summaryrefslogtreecommitdiff
path: root/src/i830_bios.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-03-31 14:05:46 -0800
committerEric Anholt <anholt@leguin.anholt.net>2006-04-06 16:00:08 -0700
commit4e3a4827007d624aa3da1a9f5a299837bd601a33 (patch)
treea97f50ce87fe550a6a2810c43f3528c511f10109 /src/i830_bios.c
parent8d27f8246ed5a73f7a78043e128b47be784186c0 (diff)
autodetect LVDS dither. Fix 16bpp depth selection
Diffstat (limited to 'src/i830_bios.c')
-rw-r--r--src/i830_bios.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_bios.c b/src/i830_bios.c
index eb810fca..4264803b 100644
--- a/src/i830_bios.c
+++ b/src/i830_bios.c
@@ -135,6 +135,8 @@ i830GetLVDSInfoFromBIOS(ScrnInfoPtr pScrn)
case 40:
lvds1 = (struct lvds_bdb_1 *)(pI830->VBIOS + start);
panel_type = lvds1->panel_type;
+ if (lvds1->caps & LVDS_CAP_DITHER)
+ pI830->panel_wants_dither = TRUE;
break;
case 41:
if (panel_type == -1)