drm/radeon/kms: avoid possible oops (call gart_fini before gart_disable)
authorJerome Glisse <jglisse@redhat.com>
Wed, 17 Mar 2010 14:44:29 +0000 (14:44 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Mar 2010 03:11:42 +0000 (13:11 +1000)
commitf9274562026558ab54a29331cf13e9ebec8cc890
tree63088dab34efe13e0e23b769fa92d26e8600fe34
parent97f23b3d85a4d734a8584dade3a34579931c8f8d
drm/radeon/kms: avoid possible oops (call gart_fini before gart_disable)

radeon_gart_fini might call GART unbind callback function which
might try to access GART table but if gart_disable is call first
the GART table will be unmapped so any access to it will oops.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/rs400.c
drivers/gpu/drm/radeon/rs600.c
drivers/gpu/drm/radeon/rv770.c