Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155271
b: refs/heads/master
c: 5019914
h: refs/heads/master
i:
  155269: 385e416
  155267: 9bffd21
  155263: 3da5228
v: v3
  • Loading branch information
Zhenyu Wang authored and Eric Anholt committed Jul 10, 2009
1 parent c08cc0e commit c9b7af6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d05ca301997c94c2ef3c112b15319d13fa8cddab
refs/heads/master: 5019914ca3b7517b2d82db2e92e3f683ac48e535
10 changes: 9 additions & 1 deletion trunk/drivers/gpu/drm/i915/intel_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ static void
parse_lfp_panel_data(struct drm_i915_private *dev_priv,
struct bdb_header *bdb)
{
struct drm_device *dev = dev_priv->dev;
struct bdb_lvds_options *lvds_options;
struct bdb_lvds_lfp_data *lvds_lfp_data;
struct bdb_lvds_lfp_data_ptrs *lvds_lfp_data_ptrs;
Expand Down Expand Up @@ -132,7 +133,14 @@ parse_lfp_panel_data(struct drm_i915_private *dev_priv,
entry = (struct bdb_lvds_lfp_data_entry *)
((uint8_t *)lvds_lfp_data->data + (lfp_data_size *
lvds_options->panel_type));
dvo_timing = &entry->dvo_timing;

/* On IGDNG mobile, LVDS data block removes panel fitting registers.
So dec 2 dword from dvo_timing offset */
if (IS_IGDNG(dev))
dvo_timing = (struct lvds_dvo_timing *)
((u8 *)&entry->dvo_timing - 8);
else
dvo_timing = &entry->dvo_timing;

panel_fixed_mode = kzalloc(sizeof(*panel_fixed_mode), GFP_KERNEL);

Expand Down

0 comments on commit c9b7af6

Please sign in to comment.