diff options
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; |