Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/
A Ddrm_vblank.c233 u32 cur_vblank; in drm_reset_vblank_timestamp() local
245 cur_vblank = __get_vblank_counter(dev, pipe); in drm_reset_vblank_timestamp()
261 store_vblank(dev, pipe, 1, t_vblank, cur_vblank); in drm_reset_vblank_timestamp()
282 u32 cur_vblank, diff; in drm_update_vblank_count() local
302 cur_vblank = __get_vblank_counter(dev, pipe); in drm_update_vblank_count()
308 diff = (cur_vblank - vblank->last) & max_vblank_count; in drm_update_vblank_count()
351 diff, cur_vblank, vblank->last); in drm_update_vblank_count()
354 drm_WARN_ON_ONCE(dev, cur_vblank != vblank->last); in drm_update_vblank_count()
367 store_vblank(dev, pipe, diff, t_vblank, cur_vblank); in drm_update_vblank_count()
1479 u32 cur_vblank, diff = 1; in drm_vblank_restore() local
[all …]
/linux/drivers/gpu/drm/via/
A Dvia_irq.c109 ktime_t cur_vblank; in via_driver_irq_handler() local
117 cur_vblank = ktime_get(); in via_driver_irq_handler()
120 ktime_sub(cur_vblank, in via_driver_irq_handler()
123 dev_priv->last_vblank = cur_vblank; in via_driver_irq_handler()

Completed in 8 milliseconds