Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/ !
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()
247 } while (cur_vblank != __get_vblank_counter(dev, pipe) && --count > 0); 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()
304 } while (cur_vblank != __get_vblank_counter(dev, pipe) && --count > 0); 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()
[all …]
/linux-6.1.9/drivers/gpu/drm/via/ !
Dvia_dri1.c2230 ktime_t cur_vblank; in via_driver_irq_handler() local
2238 cur_vblank = ktime_get(); in via_driver_irq_handler()
2241 ktime_sub(cur_vblank, in via_driver_irq_handler()
2244 dev_priv->last_vblank = cur_vblank; in via_driver_irq_handler()