diff options
Diffstat (limited to 'src/i830_bios.c')
-rw-r--r-- | src/i830_bios.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/i830_bios.c b/src/i830_bios.c index b7e69e12..bdfb2e4d 100644 --- a/src/i830_bios.c +++ b/src/i830_bios.c @@ -170,12 +170,18 @@ i830_bios_get_panel_mode(ScrnInfoPtr pScrn, Bool *wants_dither) struct lvds_bdb_2 *lvds2; struct lvds_bdb_2_fp_params *fpparam; struct lvds_bdb_2_fp_edid_dtd *fptiming; + struct bdb_general_features *features; DisplayModePtr fixed_mode; CARD8 *timing_ptr; id = INTEL_BIOS_8(start); block_size = INTEL_BIOS_16(start + 1) + 3; switch (id) { + case 1: + features = (struct bdb_general_features *)(bios + start); + pI830->enable_ssc = features->enable_ssc; + pI830->ssc_freq = features->ssc_freq; + break; case 40: lvds1 = (struct lvds_bdb_1 *)(bios + start); panel_type = lvds1->panel_type; |