[igt-dev] [RFC v2 00/43] Upgrading the Engine discovery

Ramalingam C
2019-06-21T10:00:57Z

Replaces the old static engine identification with new uAPI for engine
discovery.

Marked as RFC, because this is not tested on HW yet. And we need initial
review along with CI reaction.

Ramalingam C (43):
test/i915: gem_bad_reloc: use the gem_engine_topology library
test/i915: gem_exec_async: use the gem_engine_topology library
test/i915: gem_exec_capture: use the gem_engine_topology library
test/i915: gem_exec_params: use the gem_engine_topology library
lib/i915: Helper func for engine class to exec_flag
test/prime_vgem: use the gem_engine_topology library
tests/i915/gem_exec_reuse: use the gem_engine_topology library
tests/i915/gem_sync: use the gem_engine_topology library
tests/i915/gem_busy: use the gem_engine_topology library
tests/i915/gem_concurrent_all: use the gem_engine_topology library
tests/i915/gem_cs_prefetch: use the gem_engine_topology library
tests/i915/gem_ctx_create: use the gem_engine_topology library
tests/i915/gem_ctx_isolation: use the gem_engine_topology library
tests/i915/gem_ctx_switch: use the gem_engine_topology library
tests/i915/gem_ctx_thrash: use the gem_engine_topology library
tests/i915/gem_eio: use the gem_engine_topology library
tests/i915/gem_exec_await: use the gem_engine_topology library
tests/i915/gem_exec_create: use the gem_engine_topology library
tests/i915/gem_exec_fence: use the gem_engine_topology library
tests/i915/gem_exec_flush: use the gem_engine_topology library
tests/i915/gem_exec_gttfill: use the gem_engine_topology library
tests/i915/gem_exec_latency: use the gem_engine_topology library
tests/i915/gem_exec_nop: use the gem_engine_topology library
tests/i915/gem_exec_reloc: use the gem_engine_topology library
tests/i915/gem_exec_schedule: use the gem_engine_topology library
tests/i915/gem_exec_suspend: use the gem_engine_topology library
tests/i915/gem_exec_whisper: use the gem_engine_topology library
tests/i915/gem_mocs_settings: use the gem_engine_topology library
tests/i915/gem_reset_stats: use the gem_engine_topology library
tests/i915/gem_ring_sync_loop: use the gem_engine_topology library
tests/i915/gem_ringfill: use the gem_engine_topology library
tests/i915/gem_shrink: use the gem_engine_topology library
tests/i915/gem_spin_batch: use the gem_engine_topology library
tests/i915/gem_storedw_loop: use the gem_engine_topology library
tests/i915/gem_userptr_blits: use the gem_engine_topology library
tests/i915/i915_hangman: use the gem_engine_topology library
tests/i915/i915_module_load: use the gem_engine_topology library
tests/kms_busy: use the gem_engine_topology library
tests/prime_busy: use the gem_engine_topology library
tests/amdgpu/amd_prime: use the gem_engine_topology library
tests/i915/gem_ctx_shared: use the gem_engine_topology library
lib: replace the legacy funcs with gem_engine_topology libraries
lib/gem_engine_topology: rename the macros

benchmarks/gem_syslatency.c | 7 +-
lib/i915/gem_engine_topology.c | 26 ++-
lib/i915/gem_engine_topology.h | 6 +-
lib/i915/gem_ring.c | 7 +-
lib/i915/gem_submission.c | 6 +-
lib/igt_gt.c | 11 --
lib/igt_gt.h | 21 --
tests/amdgpu/amd_prime.c | 5 +-
tests/i915/gem_bad_reloc.c | 14 +-
tests/i915/gem_busy.c | 23 +--
tests/i915/gem_concurrent_all.c | 8 +-
tests/i915/gem_cs_prefetch.c | 18 +-
tests/i915/gem_cs_tlb.c | 2 +-
tests/i915/gem_ctx_create.c | 34 ++--
tests/i915/gem_ctx_engines.c | 10 +-
tests/i915/gem_ctx_exec.c | 2 +-
tests/i915/gem_ctx_isolation.c | 19 +-
tests/i915/gem_ctx_shared.c | 99 +++++-----
tests/i915/gem_ctx_switch.c | 26 +--
tests/i915/gem_ctx_thrash.c | 15 +-
tests/i915/gem_eio.c | 63 +++---
tests/i915/gem_exec_async.c | 34 ++--
tests/i915/gem_exec_await.c | 5 +-
tests/i915/gem_exec_basic.c | 8 +-
tests/i915/gem_exec_capture.c | 24 +--
tests/i915/gem_exec_create.c | 6 +-
tests/i915/gem_exec_fence.c | 112 +++++------
tests/i915/gem_exec_flush.c | 72 ++++---
tests/i915/gem_exec_gttfill.c | 30 +--
tests/i915/gem_exec_latency.c | 101 ++++------
tests/i915/gem_exec_nop.c | 119 ++++++------
tests/i915/gem_exec_parallel.c | 4 +-
tests/i915/gem_exec_params.c | 41 +---
tests/i915/gem_exec_reloc.c | 27 +--
tests/i915/gem_exec_reuse.c | 12 +-
tests/i915/gem_exec_schedule.c | 332 ++++++++++++++++----------------
tests/i915/gem_exec_store.c | 4 +-
tests/i915/gem_exec_suspend.c | 52 ++---
tests/i915/gem_exec_whisper.c | 27 +--
tests/i915/gem_mocs_settings.c | 54 +++---
tests/i915/gem_reset_stats.c | 60 +++---
tests/i915/gem_ring_sync_loop.c | 4 +-
tests/i915/gem_ringfill.c | 32 ++-
tests/i915/gem_shrink.c | 22 ++-
tests/i915/gem_spin_batch.c | 36 ++--
tests/i915/gem_storedw_loop.c | 39 ++--
tests/i915/gem_sync.c | 232 +++++++++++-----------
tests/i915/gem_userptr_blits.c | 8 +-
tests/i915/gem_wait.c | 4 +-
tests/i915/i915_hangman.c | 8 +-
tests/i915/i915_module_load.c | 29 +--
tests/kms_busy.c | 62 +++---
tests/perf_pmu.c | 12 +-
tests/prime_busy.c | 24 +--
tests/prime_vgem.c | 72 ++++---
55 files changed, 1047 insertions(+), 1083 deletions(-)