All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] i915/gem_exec_balancer: Wait for both engines to complete before resubmitting
@ 2019-11-04 20:17 ` Chris Wilson
  0 siblings, 0 replies; 17+ messages in thread
From: Chris Wilson @ 2019-11-04 20:17 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev, Tvrtko Ursulin

As the scratch buf is shared between the two requests on both engines,
we need to wait for both to finish using the buffer before we reset it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
 tests/i915/gem_exec_balancer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/gem_exec_balancer.c b/tests/i915/gem_exec_balancer.c
index e52f5df95..70c4529b4 100644
--- a/tests/i915/gem_exec_balancer.c
+++ b/tests/i915/gem_exec_balancer.c
@@ -840,7 +840,7 @@ static void bonded_slice(int i915)
 			gem_execbuf(i915, &eb);
 			close(eb.rsvd2);
 
-			gem_sync(i915, obj[2].handle);
+			gem_sync(i915, obj[0].handle);
 		}
 
 		*stop = 1;
-- 
2.24.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2019-11-05 11:48 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-04 20:17 [igt-dev] [PATCH i-g-t] i915/gem_exec_balancer: Wait for both engines to complete before resubmitting Chris Wilson
2019-11-04 20:17 ` [Intel-gfx] " Chris Wilson
2019-11-04 20:17 ` Chris Wilson
2019-11-04 20:57 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-11-05  7:36 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-11-05 11:34 ` [igt-dev] [PATCH i-g-t] " Mika Kuoppala
2019-11-05 11:34   ` [Intel-gfx] " Mika Kuoppala
2019-11-05 11:34   ` Mika Kuoppala
2019-11-05 11:39   ` [igt-dev] " Chris Wilson
2019-11-05 11:39     ` [Intel-gfx] " Chris Wilson
2019-11-05 11:39     ` Chris Wilson
2019-11-05 11:46     ` [igt-dev] " Mika Kuoppala
2019-11-05 11:46       ` [Intel-gfx] " Mika Kuoppala
2019-11-05 11:46       ` Mika Kuoppala
2019-11-05 11:48       ` [igt-dev] " Chris Wilson
2019-11-05 11:48         ` [Intel-gfx] " Chris Wilson
2019-11-05 11:48         ` Chris Wilson

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.