diff --git a/sys/dev/drm/drm_irq.c b/sys/dev/drm/drm_irq.c index be513e235523..4c1f8652e44e 100644 --- a/sys/dev/drm/drm_irq.c +++ b/sys/dev/drm/drm_irq.c @@ -325,6 +325,10 @@ int drm_vblank_get(struct drm_device *dev, int crtc) } } + if (dev->vblank[crtc].enabled) + dev->vblank[crtc].last = + dev->driver->get_vblank_counter(dev, crtc); + return ret; }