drm/radeon/kms/combios: verify dac_adj values are valid
commitbc4ae10e707a7872095264607f049893e9656efb
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 6 Apr 2010 16:35:26 +0000 (6 12:35 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:47:52 +0000 (26 07:47 -0700)
treed549b74302aa550dc65705372f4ea9565891d930
parent7f4be8b0c326cd9d0a62a4d85809979a3428c5de
drm/radeon/kms/combios: verify dac_adj values are valid

commit 3a89b4a9ca7ce11e3b7d5119aea917b9fc29a302 upstream.

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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_combios.c