diff options
author | Keith Packard <keithp@neko.keithp.com> | 2006-08-31 18:25:21 -0700 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2006-08-31 18:25:21 -0700 |
commit | cbaf3cf74bd420533d299c4113761ec536097e33 (patch) | |
tree | 1256d4068326b3b1dc39a9d23cedde2f51b303a2 /src/i830_bios.c | |
parent | 421b415e23c1ddc78837cd222167d6ed71a3ef88 (diff) |
verbose debug message for panel sync data
Diffstat (limited to 'src/i830_bios.c')
-rw-r--r-- | src/i830_bios.c | 8 |
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; } |