Additional vblank cleanups.
authorHasso Tepper <hasso@estpak.ee>
Thu, 25 Jun 2009 18:28:47 +0000 (21:28 +0300)
committerHasso Tepper <hasso@estpak.ee>
Thu, 25 Jun 2009 21:27:58 +0000 (00:27 +0300)
commitbdcda7d51283e74660365e44b44f012f99cd16f5
tree8ee4df2f358b0c9458e1de2b6b53edf30182fbd0
parentd7bfbf3ae71992cab5f58cf672545f7cceb3eec4
Additional vblank cleanups.

Use the vbl_lock when manipulating the refcount.  Eventually I want to
convert this to use our internal refcount code.  Continue to use atomic
ops for manipulating vblank count since we access it often just for
reading.

Obtained-from: FreeBSD
sys/dev/drm/drm_irq.c