drm/radeon/kms/combios: verify dac_adj values are valid
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 6 Apr 2010 16:35:26 +0000 (12:35 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Apr 2010 00:13:18 +0000 (10:13 +1000)
commit3a89b4a9ca7ce11e3b7d5119aea917b9fc29a302
tree5ddfb6321e7d0e8433afe29819c16f182b4e4c43
parentaffd858907aae7bf7d7d7fa02ff19f35de2ff1d8
drm/radeon/kms/combios: verify dac_adj values are valid

Some vbios dac_adj tables are all zeros.  Check for that
case and use the default table if so.

Should fix fdo bug 27478.

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