Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit d46f329

Browse files
mbrost05jnikula
authored andcommitted
drm/i915: Increment composite fence seqno
Increment composite fence seqno on each fence creation. Fixes: 544460c ("drm/i915: Multi-BB execbuf") Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: John Harrison <[email protected]> Signed-off-by: John Harrison <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 62eeb9a) Signed-off-by: Jani Nikula <[email protected]>
1 parent 0f9d36a commit d46f329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3017,7 +3017,7 @@ eb_composite_fence_create(struct i915_execbuffer *eb, int out_fence_fd)
30173017
fence_array = dma_fence_array_create(eb->num_batches,
30183018
fences,
30193019
eb->context->parallel.fence_context,
3020-
eb->context->parallel.seqno,
3020+
eb->context->parallel.seqno++,
30213021
false);
30223022
if (!fence_array) {
30233023
kfree(fences);

0 commit comments

Comments
 (0)