]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: fix LFP data fetch
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 22 Jun 2009 18:30:30 +0000 (11:30 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 23 Jun 2009 03:45:40 +0000 (20:45 -0700)
commit1b16de0b070dc6fa29b7a99980eabe3325ee5983
tree531dbbd70c2a6808a32499dbb843f4e8304f5e25
parent8ed9a5bc9c9425ef93a1b03b418300a5e18b2361
drm/i915: fix LFP data fetch

Apparently the proper way to do this is to use the LFP data pointer
block to figure out the LFP data block entry size, then use that plus
the panel index to calculate an offset into the LFP data block array.

Similar fix has already been pushed to the 2D driver to fix fdo bug
applied to the VBIOS reader, and things look sane).

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_bios.c