Searched refs:vblank_refcount (Results 1 – 2 of 2) sorted by relevance
90 if (atomic_read(&dev->vblank_refcount[i]) == 0 && in vblank_disable_fn()117 drm_free(dev->vblank_refcount, sizeof (atomic_t) * in drm_vblank_cleanup()152 dev->vblank_refcount = drm_alloc(sizeof (atomic_t) * num_crtcs, in drm_vblank_init()154 if (!dev->vblank_refcount) in drm_vblank_init()176 atomic_set(&dev->vblank_refcount[i], 0); in drm_vblank_init()363 atomic_add(1, &dev->vblank_refcount[crtc]); in drm_vblank_get()364 if (dev->vblank_refcount[crtc] == 1 && in drm_vblank_get()368 atomic_dec(&dev->vblank_refcount[crtc]); in drm_vblank_get()384 atomic_dec(&dev->vblank_refcount[crtc]); in drm_vblank_put()386 if (dev->vblank_refcount[crtc] == 0) in drm_vblank_put()
802 atomic_t *vblank_refcount; member