drm: delay vblank cleanup until after driver unload
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 26 Mar 2010 18:07:16 +0000 (11:07 -0700)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Apr 2010 04:22:38 +0000 (14:22 +1000)
commitb78315f051de8d207bead90470aa216c0617572b
tree30f5ea1c70495763d2d98fcbb1b087f1a2c6d594
parent79b9517a33a283c5d9db875c263670ed1e055f7e
drm: delay vblank cleanup until after driver unload

Drivers may use vblank calls now (e.g. drm_vblank_off) in their unload
paths, so don't clean up the vblank related structures until after
driver unload.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_stub.c