drm/radeon/kms: fix extended lvds info parsing
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 11 May 2011 18:02:07 +0000 (14:02 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 13 May 2011 06:16:33 +0000 (16:16 +1000)
commit05fa7ea7d23980de0014417a0e0af2048a0f9fc1
tree7b8d2727e7b142dd5e097a80ef7334a07b68a402
parentd9282fca8a763be574a2fc20b2edcc6e132cbf90
drm/radeon/kms: fix extended lvds info parsing

On rev <= 1.1 tables, the offset is absolute,
on newer tables, it's relative.

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=700326

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_atombios.c