drm/radeon/kms/atom: make sure tables are valid (v2)
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 18 Mar 2010 05:04:01 +0000 (01:04 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Mar 2010 03:11:29 +0000 (13:11 +1000)
commita084e6ee6e64a76f1a9665d527203cdab7d6048f
treeebc1f90b7111b39bee17ff3f1e2ee02452dc1bf7
parentc1bcad9d16831859373d8f579fa1e146409f9960
drm/radeon/kms/atom: make sure tables are valid (v2)

Check that atom cmd and data tables are valid
before using them.

(v2)
- fix some whitespace errors noticed by Rafał Miłecki
- check a few more cases

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atom.c
drivers/gpu/drm/radeon/atom.h
drivers/gpu/drm/radeon/atombios_crtc.c
drivers/gpu/drm/radeon/radeon_atombios.c
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_encoders.c
drivers/gpu/drm/radeon/rs690.c