[igt-dev] [PATCH i-g-t v3] tests/i915/gem_spin_batch: Update with engine discovery

Andi Shyti andi.shyti at intel.com
Thu Jul 4 13:11:27 UTC 2019


Hi Ram,

On Wed, Jul 03, 2019 at 12:22:41PM +0530, Ramalingam C wrote:
> Legacy execbuf abi tests are prefixed with legacy. New test are added to
> run on physical engines accessed through engine discovery.
> 
> So legacy tests run on the unconfigured (with engine map) context and
> use a new helper gem_eb_flags_to_engine to look up the engine from the
> intel_execution_engines2 static list. This is only to enable the
> core test code to be shared.
> 
> Places where new contexts are created had to be updated to either
> equally configure the contexts or not.
> 
> v2:
>   helper called gem_engine_is_equal is added [tvrtko]
>   rebased to adopt the changte in eb_flag to engine [tvrtko]
> v3:
>   returned the result of the expression itself [tvrtko]
> 
> Signed-off-by: Ramalingam C <ramalingam.c at intel.com>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at linux.intel.com>
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Acked-by: Andi Shyti <andi.shyti at gmail.com>

Andi


More information about the igt-dev mailing list