mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-27 12:50:13 +01:00
Add a fence flush event to each fence-signaled check when lazy-waiting
to make sure we don't lose any sequence numbers if, for some reason, they don't generate an IRQ.
This commit is contained in:
parent
139e4bbc73
commit
38d18acb8f
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ static int drm_fence_lazy_wait(drm_device_t *dev,
|
|||
|
||||
do {
|
||||
DRM_WAIT_ON(ret, fc->fence_queue, 3 * DRM_HZ,
|
||||
fence_signaled(dev, fence, mask, 0));
|
||||
fence_signaled(dev, fence, mask, 1));
|
||||
if (time_after_eq(jiffies, _end))
|
||||
break;
|
||||
} while (ret == -EINTR && ignore_signals);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue