All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915: Increment composite fence seqno
@ 2021-12-14 19:59 ` Matthew Brost
  0 siblings, 0 replies; 9+ messages in thread
From: Matthew Brost @ 2021-12-14 19:59 UTC (permalink / raw)
  To: intel-gfx, dri-devel

Increment composite fence seqno on each fence creation.

Fixes: 544460c33821 ("drm/i915: Multi-BB execbuf")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
---
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
index 2213f7b613da..96cf8361b017 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
@@ -3113,7 +3113,7 @@ eb_composite_fence_create(struct i915_execbuffer *eb, int out_fence_fd)
 	fence_array = dma_fence_array_create(eb->num_batches,
 					     fences,
 					     eb->context->parallel.fence_context,
-					     eb->context->parallel.seqno,
+					     eb->context->parallel.seqno++,
 					     false);
 	if (!fence_array) {
 		kfree(fences);
-- 
2.33.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-12-29 11:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-14 19:59 [Intel-gfx] [PATCH] drm/i915: Increment composite fence seqno Matthew Brost
2021-12-14 19:59 ` Matthew Brost
2021-12-14 20:17 ` [Intel-gfx] " Jani Nikula
2021-12-14 20:15   ` Matthew Brost
2021-12-14 22:00 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2021-12-15 10:40 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2021-12-23 21:32 ` [Intel-gfx] [PATCH] " John Harrison
2021-12-23 21:32   ` John Harrison
2021-12-29 11:29 ` [Intel-gfx] " Jani Nikula

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.