Searched refs:atomic_read (Results 1 - 15 of 15) sorted by relevance

/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_atomic.h57 #define atomic_read(p) (*(p)) macro
72 if (atomic_read(p) != 0) \
H A Ddrm_irq.c253 sequence = atomic_read((flags & _DRM_VBLANK_SECONDARY) ?
320 unsigned int vbl_seq = atomic_read(&dev->vbl_received);
H A Dradeon_irq.c125 ret = atomic_read(&dev_priv->swi_emitted);
187 (((cur_vblank = atomic_read(counter)) - *sequence) <= (1 << 23)));
H A Ddrm_ioctl.c280 stats.data[i].value = atomic_read(&dev->counts[i]);
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_atomic.h57 #define atomic_read(p) (*(p)) macro
72 if (atomic_read(p) != 0) \
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_irq.c325 vblcount = atomic_read(&dev->_vblank_count[crtc]);
362 if (atomic_read(&dev->vblank_refcount[i]) == 0 &&
930 return atomic_read(&dev->_vblank_count[crtc]);
958 cur_vblank = atomic_read(&dev->_vblank_count[crtc]);
960 } while (cur_vblank != atomic_read(&dev->_vblank_count[crtc]));
1058 tslot = atomic_read(&dev->_vblank_count[crtc]) + diff;
1118 BUG_ON (atomic_read (&dev->vblank_refcount[crtc]) == 0);
1491 vblcount = atomic_read(&dev->_vblank_count[crtc]);
H A Ddrm_fops.c423 if (atomic_read(&dev->ioctl_count)) {
425 atomic_read(&dev->ioctl_count));
H A Ddrm_ioctl.c231 stats->data[i].value = atomic_read(&dev->counts[i]);
H A Ddrm_drv.c514 if (atomic_read(&obj->handle_count) == 0)
532 if (atomic_read(&obj->handle_count) == 0)
H A Ddrm_bufs.c908 if (atomic_read(&dev->buf_alloc)) {
1090 if (atomic_read(&dev->buf_alloc)) {
H A Ddrm_crtc.c557 if (atomic_read(&fb->refcount.refcount) > 1) {
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_gem.c734 reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter))
751 reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter),
755 reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter),
766 if (reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter))
817 atomic_read(&dev_priv->gpu_error.reset_counter),
892 reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter);
2012 reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter);
3068 reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter);
H A Di915_drv.h1742 return (atomic_read(&error->reset_counter)
1748 return atomic_read(&error->reset_counter) == I915_WEDGED;
H A Dintel_display.c2774 intel_crtc->reset_counter != atomic_read(&dev_priv->gpu_error.reset_counter))
7209 BUG_ON(atomic_read(&to_intel_crtc(work->crtc)->unpin_work_count) == 0);
7228 if (work == NULL || atomic_read(&work->pending) < INTEL_FLIP_COMPLETE) {
7585 if (atomic_read(&intel_crtc->unpin_work_count) >= 2)
7600 intel_crtc->reset_counter = atomic_read(&dev_priv->gpu_error.reset_counter);
H A Di915_irq.c2118 atomic_read(&work->pending) >= INTEL_FLIP_COMPLETE ||

Completed in 465 milliseconds