mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-06 02:28:03 +02:00
Fix vblank wait condition.
Sync-to-vblank actually works again for me with radeon.
This commit is contained in:
parent
2738bca6f5
commit
d2d53024fb
1 changed files with 1 additions and 1 deletions
|
|
@ -554,7 +554,7 @@ int drm_wait_vblank(DRM_IOCTL_ARGS)
|
|||
return ret;
|
||||
DRM_WAIT_ON(ret, dev->vbl_queue[crtc], 3 * DRM_HZ,
|
||||
(((cur_vblank = drm_vblank_count(dev, crtc))
|
||||
- seq) <= (1 << 23)));
|
||||
- vblwait.request.sequence) <= (1 << 23)));
|
||||
drm_vblank_put(dev, crtc);
|
||||
do_gettimeofday(&now);
|
||||
vblwait.reply.tval_sec = now.tv_sec;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue