linux: Clean up vblank related resources from drm_irq_uninstall().
authorMichel Dänzer <michel@tungstengraphics.com>
Thu, 21 Feb 2008 10:49:38 +0000 (11:49 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Thu, 21 Feb 2008 10:49:38 +0000 (11:49 +0100)
commit374b41e5bcdb5c22471c8c16dd794ac54c4f76d2
tree3da5f268e8a970f49092b2c01d3b2005c4703532
parent9d1061b8cfaf91bff6b55398c6059be97c2e0165
linux: Clean up vblank related resources from drm_irq_uninstall().

This fixes at least two problems:

* The vblank_disable_fn timer callback could get called after the DRM was
  de-initialized, e.g. on X server shutdown.
* Leak of vblank related resources when disabling and re-enabling the IRQ, e.g.
  on an X server reset.
linux-core/drm_irq.c