mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-08 21:10:15 +01:00
Properly propagate the user-space fence flags.
This avoids a sync flush when user-space has already programmed and MI_FLUSH in the batchbuffer.
This commit is contained in:
parent
099e89edf0
commit
88c511e49d
1 changed files with 2 additions and 1 deletions
|
|
@ -1111,7 +1111,8 @@ static int i915_execbuffer(struct drm_device *dev, void *data,
|
|||
sarea_priv->last_dispatch = READ_BREADCRUMB(dev_priv);
|
||||
|
||||
/* fence */
|
||||
ret = drm_fence_buffer_objects(dev, NULL, 0, NULL, &fence);
|
||||
ret = drm_fence_buffer_objects(dev, NULL, fence_arg->flags,
|
||||
NULL, &fence);
|
||||
if (ret)
|
||||
goto out_err0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue