[Intel-gfx] [PATCH i-g-t] i915/gem_spin_batch: Add test to resend spinner
Mika Kuoppala
mika.kuoppala at linux.intel.com
Wed Apr 17 11:31:14 UTC 2019
Chris Wilson <chris at chris-wilson.co.uk> writes:
> Quoting Mika Kuoppala (2019-04-16 16:01:58)
>> Add subtests to resend the same spinner to same context
>> and to other context.
>>
>> v2: other engines (Chris)
>>
>> Cc: Chris Wilson <chris at chris-wilson.co.uk>
>> Signed-off-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
>
>> + igt_subtest_f("resubmit-%s", e->name)
>> + spin_resubmit(fd, e->exec_id, 0);
>> +
>> + igt_subtest_f("resubmit-new-%s", e->name)
>> + spin_resubmit(fd, e->exec_id, RESUBMIT_NEW_CTX);
>> +
>> + igt_subtest_f("resubmit-all-%s", e->name)
>> + spin_resubmit(fd, e->exec_id, RESUBMIT_ALL_ENGINES);
>> +
>> + igt_subtest_f("resubmit-new-all-%s", e->name)
>> + spin_resubmit(fd, e->exec_id,
>> + RESUBMIT_NEW_CTX |
>> + RESUBMIT_ALL_ENGINES);
>
> You are getting close to wanting a loop here :)
Very close. Pushed, thanks for review!
-Mika
More information about the Intel-gfx
mailing list