summaryrefslogtreecommitdiff
path: root/src/i830_lvds.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-04-02 18:20:15 -0700
committerEric Anholt <eric@anholt.net>2007-04-03 00:15:04 -0700
commit9b78208f1ef1a8ee98f2aa139956659169e234ab (patch)
tree0efa208712efcfb200251ee6abcd240869430114 /src/i830_lvds.c
parent9ea83d440d6b9e30d4627e34168226a6b4b2a841 (diff)
Move a bunch of debugging verbosity under Option "ModeDebug".
Diffstat (limited to 'src/i830_lvds.c')
-rw-r--r--src/i830_lvds.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c
index eb533a79..d16eccb5 100644
--- a/src/i830_lvds.c
+++ b/src/i830_lvds.c
@@ -473,7 +473,9 @@ i830_lvds_init(ScrnInfoPtr pScrn)
bios_mode = i830_bios_get_panel_mode(pScrn);
if (bios_mode != NULL) {
if (pI830->panel_fixed_mode != NULL) {
- if (!xf86ModesEqual(pI830->panel_fixed_mode, bios_mode)) {
+ if (pI830->debug_modes &&
+ !xf86ModesEqual(pI830->panel_fixed_mode, bios_mode))
+ {
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"BIOS panel mode data doesn't match probed data, "
"continuing with probed.\n");