diff options
author | Eric Anholt <eric@anholt.net> | 2007-04-02 18:20:15 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-04-03 00:15:04 -0700 |
commit | 9b78208f1ef1a8ee98f2aa139956659169e234ab (patch) | |
tree | 0efa208712efcfb200251ee6abcd240869430114 /src/i830_bios.c | |
parent | 9ea83d440d6b9e30d4627e34168226a6b4b2a841 (diff) |
Move a bunch of debugging verbosity under Option "ModeDebug".
Diffstat (limited to 'src/i830_bios.c')
-rw-r--r-- | src/i830_bios.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/i830_bios.c b/src/i830_bios.c index cb886b54..0d009175 100644 --- a/src/i830_bios.c +++ b/src/i830_bios.c @@ -229,9 +229,11 @@ i830_bios_get_panel_mode(ScrnInfoPtr pScrn) xf86SetModeDefaultName(fixed_mode); - xf86DrvMsg(pScrn->scrnIndex, X_INFO, - "Found panel mode in BIOS VBT tables:\n"); - xf86PrintModeline(pScrn->scrnIndex, fixed_mode); + if (pI830->debug_modes) { + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "Found panel mode in BIOS VBT tables:\n"); + xf86PrintModeline(pScrn->scrnIndex, fixed_mode); + } xfree(bios); return fixed_mode; |