Commit 62eeb9ae authored by Matthew Brost's avatar Matthew Brost Committed by John Harrison

drm/i915: Increment composite fence seqno

Increment composite fence seqno on each fence creation.

Fixes: 544460c3 ("drm/i915: Multi-BB execbuf")
Signed-off-by: default avatarMatthew Brost <matthew.brost@intel.com>
Reviewed-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
Signed-off-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211214195913.35735-1-matthew.brost@intel.com
parent cbffbac9
...@@ -3150,7 +3150,7 @@ eb_composite_fence_create(struct i915_execbuffer *eb, int out_fence_fd) ...@@ -3150,7 +3150,7 @@ eb_composite_fence_create(struct i915_execbuffer *eb, int out_fence_fd)
fence_array = dma_fence_array_create(eb->num_batches, fence_array = dma_fence_array_create(eb->num_batches,
fences, fences,
eb->context->parallel.fence_context, eb->context->parallel.fence_context,
eb->context->parallel.seqno, eb->context->parallel.seqno++,
false); false);
if (!fence_array) { if (!fence_array) {
kfree(fences); kfree(fences);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment