summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i830_bios.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/i830_bios.c b/src/i830_bios.c
index 4b87351c..b68c4676 100644
--- a/src/i830_bios.c
+++ b/src/i830_bios.c
@@ -210,7 +210,13 @@ i830GetLVDSInfoFromBIOS(ScrnInfoPtr pScrn)
pI830->panel_fixed_vblank = _V_BLANK(timing_ptr);
pI830->panel_fixed_vsyncoff = _V_SYNC_OFF(timing_ptr);
pI830->panel_fixed_vsyncwidth = _V_SYNC_WIDTH(timing_ptr);
-
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Panel mode h active %d blank %d rate %f v active %d blank %d rate %f\n",
+ pI830->panel_fixed_hactive, pI830->panel_fixed_hblank,
+ (double) pI830->panel_fixed_clock / (pI830->panel_fixed_hactive + pI830->panel_fixed_hblank),
+ pI830->panel_fixed_vactive, pI830->panel_fixed_vblank,
+ (double) pI830->panel_fixed_clock /
+ ((pI830->panel_fixed_hactive + pI830->panel_fixed_hblank) * (pI830->panel_fixed_vactive + pI830->panel_fixed_vblank)));
found_panel_info = TRUE;
break;
}