drm/nv40: rework lvds table parsing
authorBen Skeggs <bskeggs@redhat.com>
Thu, 18 Mar 2010 02:05:43 +0000 (12:05 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 9 Apr 2010 00:12:07 +0000 (10:12 +1000)
commitf3bbb9ccbf2a0362363ce6d7e4e57dbf34a5cef1
tree301098e335ac3d39574381e36124f7ab7a76baae
parenta76fb4e8ffe42144529e21fe1e609b762e8eb5cc
drm/nv40: rework lvds table parsing

All indications seem to be that the version 0x30 table should be handled
the same way as 0x40 (as used on G80), at least for the parts that we
currently try use.

This commit cleans up the parsing to make it clearer about what we're
actually trying to achieve, and unifies the 0x30/0x40 parsing.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c
drivers/gpu/drm/nouveau/nouveau_bios.h