diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-05 11:57:47 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-05 20:45:03 +0000 |
commit | 6e9c232ac052b9634f91573449d7ac4a7da1083a (patch) | |
tree | df3b4da9031e8bfa60cd83d1fae7d2f06484a501 /tests/i915/gem_ctx_exec.c | |
parent | 44913a91e77434b03001bb9ea53216cd03c476e6 (diff) |
i915/gem_ctx_exec: Update the list of engines on the actual context
We want to iterate the set of physical engines on this context, so
update the iterators to act on a particular context.
This tunnel keeps on getting longer.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tests/i915/gem_ctx_exec.c')
-rw-r--r-- | tests/i915/gem_ctx_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i915/gem_ctx_exec.c b/tests/i915/gem_ctx_exec.c index aeb8d297..5b4e4b3d 100644 --- a/tests/i915/gem_ctx_exec.c +++ b/tests/i915/gem_ctx_exec.c @@ -226,7 +226,7 @@ static void nohangcheck_hostile(int i915) igt_require(__enable_hangcheck(dir, false)); - __for_each_physical_engine(i915, e) { + ____for_each_physical_engine(i915, ctx, e) { igt_spin_t *spin; spin = igt_spin_new(i915, ctx, |