summaryrefslogtreecommitdiff
path: root/src/i830_bios.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-03-28 13:40:32 -0800
committerEric Anholt <anholt@leguin.anholt.net>2006-04-06 16:00:03 -0700
commite45581cd073b23a62719f20783d617bd35316fec (patch)
treea21cae7ae76da7dad0749d01ab2c553801481e15 /src/i830_bios.c
parent33977d23830b5f9bb7d9e2e9c141f91cb127b7de (diff)
Fill in clock information from VBT table, so that a good clock value gets
requested for choosing divisors.
Diffstat (limited to 'src/i830_bios.c')
-rw-r--r--src/i830_bios.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_bios.c b/src/i830_bios.c
index 47c39ec3..eb810fca 100644
--- a/src/i830_bios.c
+++ b/src/i830_bios.c
@@ -157,6 +157,7 @@ i830GetLVDSInfoFromBIOS(ScrnInfoPtr pScrn)
/* Since lvds_bdb_2_fp_edid_dtd is just an EDID detailed timing
* block, pull the contents out using EDID macros.
*/
+ pI830->panel_fixed_clock = _PIXEL_CLOCK(timing_ptr) / 1000;
pI830->panel_fixed_hactive = _H_ACTIVE(timing_ptr);
pI830->panel_fixed_hblank = _H_BLANK(timing_ptr);
pI830->panel_fixed_hsyncoff = _H_SYNC_OFF(timing_ptr);