diff options
| author | Ramalingam C <ramalingam.c@intel.com> | 2019-07-01 14:54:25 +0530 |
|---|---|---|
| committer | Ramalingam C <ramalingam.c@intel.com> | 2019-07-08 17:07:23 +0530 |
| commit | 2a66ae6626d5583240509f84117d1345a799b75a (patch) | |
| tree | 84505e7f2199e3306e6f7d4fc2181a1020a9962b /lib/drmtest.c | |
| parent | 319675ccbbf3ed4f3f6929edbf5fd1a25b1f258a (diff) | |
tests/i915/gem_spin_batch: Update with engine discovery
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@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'lib/drmtest.c')
0 files changed, 0 insertions, 0 deletions
