mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Keep track of the hardware counter more aggressively while interrupts
are enabled. This should help to reduce cases where the hardware counter reference jumps by large amounts. MFC after: 3 days
This commit is contained in:
parent
a429bdf087
commit
2642e635f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194966
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user