OSDN Git Service

Update vblank code to new API
authorJesse Barnes <jbarnes@nietzche.virtuousgeek.org>
Sat, 19 Jul 2008 17:15:23 +0000 (13:15 -0400)
committerJesse Barnes <jbarnes@nietzche.virtuousgeek.org>
Sat, 19 Jul 2008 17:21:38 +0000 (13:21 -0400)
commit6ac1f8a760e1e757569a5f6f420df91cf203b02d
tree1eaa9b8a06c3268a0c890348caa8b3617512d8c6
parent7cfdba2b30e40efc688f1704bd4f4141dc6f9a6c
Update vblank code to new API

In my last push I forgot to convert users of drm_update_vblank_count
over to drm_vblank_get/put, since that's where any interrupt off->on
update accounting is done now.  Since the modeset ioctl did something
similar (an open coded update of the counter) convert it over to using
get/put too, which saves us from having to deal with every combination
of interrupt off & on between calls.
linux-core/drm_irq.c