Home
last modified time | relevance | path

Searched refs:cur_vblank (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/gpu/drm/
Ddrm_irq.c777 u32 cur_vblank; in drm_vblank_count_and_time() local
785 cur_vblank = atomic_read(&dev->_vblank_count[crtc]); in drm_vblank_count_and_time()
786 *vblanktime = vblanktimestamp(dev, crtc, cur_vblank); in drm_vblank_count_and_time()
788 } while (cur_vblank != atomic_read(&dev->_vblank_count[crtc])); in drm_vblank_count_and_time()
790 return cur_vblank; in drm_vblank_count_and_time()
812 u32 cur_vblank, diff, tslot, rc; in drm_update_vblank_count() local
828 cur_vblank = dev->driver->get_vblank_counter(dev, crtc); in drm_update_vblank_count()
830 } while (cur_vblank != dev->driver->get_vblank_counter(dev, crtc)); in drm_update_vblank_count()
833 diff = cur_vblank - dev->last_vblank[crtc]; in drm_update_vblank_count()
834 if (cur_vblank < dev->last_vblank[crtc]) { in drm_update_vblank_count()
[all …]
/linux-2.6.39/drivers/gpu/drm/via/
Dvia_irq.c114 struct timeval cur_vblank; in via_driver_irq_handler() local
122 do_gettimeofday(&cur_vblank); in via_driver_irq_handler()
125 time_diff(&cur_vblank, in via_driver_irq_handler()
128 dev_priv->last_vblank = cur_vblank; in via_driver_irq_handler()
/linux-2.6.39/drivers/staging/gma500/
Dpsb_irq.c513 unsigned int cur_vblank; in psb_vblank_do_wait() local
516 (((cur_vblank = atomic_read(counter)) in psb_vblank_do_wait()
518 *sequence = cur_vblank; in psb_vblank_do_wait()