summaryrefslogtreecommitdiff
path: root/src/i830_bios.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-06-30 12:00:28 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-06-30 12:02:12 -0700
commit53e248af4365232416d2143a791a07c6751f8319 (patch)
tree710a3bbeb89d23e0d8ff0991f7aaf13fbb92e086 /src/i830_bios.c
parent362883c2f9a3442f7678e6e815f41b21baaa3f53 (diff)
Use DVO timing block instead of fp_timing when parsing LFP data
The KMS side was correct, but the UMS patch was broken. We need to use the DVO timing block of the LFP data to get the timing, not the fp_timing block. Fixes fdo bug #22529. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'src/i830_bios.c')
-rw-r--r--src/i830_bios.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/i830_bios.c b/src/i830_bios.c
index 62b9f5d9..60c307c2 100644
--- a/src/i830_bios.c
+++ b/src/i830_bios.c
@@ -144,11 +144,11 @@ parse_integrated_panel_data(I830Ptr pI830, struct bdb_header *bdb)
if (!lvds_lfp_data_ptrs)
return;
- lfp_data_size = lvds_lfp_data_ptrs->ptr[1].fp_timing_offset -
- lvds_lfp_data_ptrs->ptr[0].fp_timing_offset;
+ lfp_data_size = lvds_lfp_data_ptrs->ptr[1].dvo_timing_offset -
+ lvds_lfp_data_ptrs->ptr[0].dvo_timing_offset;
entry = (struct bdb_lvds_lfp_data_entry *)((uint8_t *)lvds_data->data +
(lfp_data_size * lvds_options->panel_type));
- timing_ptr = (unsigned char *)&entry->fp_timing;
+ timing_ptr = (unsigned char *)&entry->dvo_timing;
if (pI830->skip_panel_detect)
return;