diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-09 10:27:57 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-09 10:28:23 +0000 |
commit | 65c5eea699141e6f942ce0a8fc85db76ce53cd19 (patch) | |
tree | 970f8458fe5214f23204171b50dc1947a7175d4b /tests/i915/gem_spin_batch.c | |
parent | c946985af198e8f859c3c08fd562b09686fa387b (diff) |
i915/gem_spin_batch: Fix clearing engine flags
A silly typo during patch cleanup, inverted ~0x3f.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'tests/i915/gem_spin_batch.c')
-rw-r--r-- | tests/i915/gem_spin_batch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i915/gem_spin_batch.c b/tests/i915/gem_spin_batch.c index e8abfab8..2ed601a6 100644 --- a/tests/i915/gem_spin_batch.c +++ b/tests/i915/gem_spin_batch.c @@ -90,7 +90,7 @@ static void spin_resubmit(int fd, unsigned int engine, unsigned int flags) const struct intel_execution_engine2 *other; for_each_context_engine(fd, spin->execbuf.rsvd1, other) { - spin->execbuf.flags &= 0x3f; + spin->execbuf.flags &= ~0x3f; spin->execbuf.flags |= other->flags; gem_execbuf(fd, &spin->execbuf); } |