summaryrefslogtreecommitdiff
path: root/src/i830_bios.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-09-27 13:33:23 -0700
committerEric Anholt <eric@anholt.net>2006-09-27 13:33:23 -0700
commit1407a42c7378706644fd8be554b43b0e7b581011 (patch)
treeb5015a52fa3cc7a79030ee49f5af5d7d6f890080 /src/i830_bios.c
parent25890ecda9fd00fad9bc53dea83fc58e0013fcdf (diff)
parent4bd3b89c73b6c5aa9b0eb553ad5d553ee0e8a489 (diff)
Merge branch 'randr-1.2' into modesetting
Diffstat (limited to 'src/i830_bios.c')
-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 07dd67d4..97fb7fc3 100644
--- a/src/i830_bios.c
+++ b/src/i830_bios.c
@@ -213,7 +213,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;
}