Ensure that we always hold the lock when executing vblank_disable_fn().
authorHasso Tepper <hasso@estpak.ee>
Thu, 25 Jun 2009 18:21:43 +0000 (21:21 +0300)
committerHasso Tepper <hasso@estpak.ee>
Thu, 25 Jun 2009 21:27:50 +0000 (00:27 +0300)
commitd7bfbf3ae71992cab5f58cf672545f7cceb3eec4
tree6222291871dbd59de8c4e2e49d591f79018e9046
parent3a591c90310c2d850bb676c23500965841873b27
Ensure that we always hold the lock when executing vblank_disable_fn().

The original code in FreeBSD uses callout_init_mtx() we don't have,
therefore we lock/unlock in vblank_disable_fn itself.
sys/dev/drm/drm_irq.c