Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/
Ddrm_vblank.c159 u32 cur_vblank; in drm_reset_vblank_timestamp() local
171 cur_vblank = __get_vblank_counter(dev, pipe); in drm_reset_vblank_timestamp()
173 } while (cur_vblank != __get_vblank_counter(dev, pipe) && --count > 0); in drm_reset_vblank_timestamp()
187 store_vblank(dev, pipe, 1, t_vblank, cur_vblank); in drm_reset_vblank_timestamp()
208 u32 cur_vblank, diff; in drm_update_vblank_count() local
228 cur_vblank = __get_vblank_counter(dev, pipe); in drm_update_vblank_count()
230 } while (cur_vblank != __get_vblank_counter(dev, pipe) && --count > 0); in drm_update_vblank_count()
234 diff = (cur_vblank - vblank->last) & max_vblank_count; in drm_update_vblank_count()
275 pipe, vblank->count, diff, cur_vblank, vblank->last); in drm_update_vblank_count()
278 WARN_ON_ONCE(cur_vblank != vblank->last); in drm_update_vblank_count()
[all …]
/Linux-v5.4/drivers/gpu/drm/via/
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()