[PATCH i-g-t 00/35] Stop cloning contexts

Jason Ekstrand jason at jlekstrand.net
Thu Apr 1 22:34:02 UTC 2021


For trybot

Jason Ekstrand (35):
  lib/i915/gem_engine_topology: Expose the __query_engines helper
  lib: Add an intel_ctx wrapper struct and helpers (v2)
  lib/i915/gem_engine_topology: Add an iterator for intel_ctx_t
  tests/i915/gem_exec_basic: Convert to intel_ctx_t
  lib/igt_spin: Rename igt_spin_factory::ctx to ctx_id
  lib/igt_spin: Support intel_ctx_t
  tests/i915/gem_exec_fence: Convert to intel_ctx_t
  tests/i915/gem_exec_schedule: Convert to intel_ctx_t
  tests/i915/perf_pmu: Convert to intel_ctx_t
  tests/i915/gem_exec_nop: Convert to intel_ctx_t
  tests/i915/gem_exec_reloc: Convert to intel_ctx_t
  tests/i915/gem_busy: Convert to intel_ctx_t
  tests/i915/gem_ctx_isolation: Convert to intel_ctx_t
  tests/i915/gem_exec_async: Convert to intel_ctx_t
  tests/i915/sysfs_clients: Convert to intel_ctx_t
  tests/i915/gem_exec_fair: Convert to intel_ctx_t
  tests/i915/gem_spin_batch: Convert to intel_ctx_t
  tests/i915/gem_exec_store: Convert to intel_ctx_t
  tests/amdgpu/amd_prime: Convert to intel_ctx_t
  tests/i915/i915_hangman: Convert to intel_ctx_t
  tests/i915/gem_ringfill: Convert to intel_ctx_t
  tests/prime_busy: Convert to intel_ctx_t
  tests/prime_vgem: Convert to intel_ctx_t
  tests/gem_exec_whisper: Convert to intel_ctx_t
  tests/i915/gem_ctx_exec: Convert to intel_ctx_t
  tests/i915/gem_exec_suspend: Convert to intel_ctx_t
  tests/i915/gem_sync: Convert to intel_ctx_t
  tests/i915/gem_userptr_blits: Convert to intel_ctx_t
  tests/i915/gem_wait: Convert to intel_ctx_t
  tests/i915/gem_request_retire: Convert to intel_ctx_t
  tests/i915/gem_ctx_shared: Convert to intel_ctx_t
  tests/i915/gem_create: Convert to intel_ctx_t
  tests/i915/gem_ctx_switch: Convert to intel_ctx_t
  tests/i915/gem_exec_parallel: Convert to intel_ctx_t
  tests/i915/gem_exec_latency: Convert to intel_ctx_t

 lib/i915/gem_context.c          |  34 ++
 lib/i915/gem_context.h          |   2 +
 lib/i915/gem_engine_topology.c  |  61 ++-
 lib/i915/gem_engine_topology.h  |  16 +-
 lib/igt_dummyload.c             |  30 +-
 lib/igt_dummyload.h             |   6 +-
 lib/igt_gt.c                    |   2 +-
 lib/intel_ctx.c                 | 164 ++++++
 lib/intel_ctx.h                 | 110 ++++
 lib/meson.build                 |   1 +
 tests/amdgpu/amd_prime.c        |  10 +-
 tests/i915/gem_busy.c           |  77 +--
 tests/i915/gem_create.c         |  14 +-
 tests/i915/gem_ctx_engines.c    |   6 +-
 tests/i915/gem_ctx_exec.c       |  14 +-
 tests/i915/gem_ctx_isolation.c  | 112 ++--
 tests/i915/gem_ctx_shared.c     | 257 +++++-----
 tests/i915/gem_ctx_switch.c     | 111 ++--
 tests/i915/gem_eio.c            |   2 +-
 tests/i915/gem_exec_async.c     |  32 +-
 tests/i915/gem_exec_balancer.c  |  26 +-
 tests/i915/gem_exec_basic.c     |   7 +-
 tests/i915/gem_exec_fair.c      |  99 ++--
 tests/i915/gem_exec_fence.c     | 186 ++++---
 tests/i915/gem_exec_latency.c   | 118 +++--
 tests/i915/gem_exec_nop.c       | 156 +++---
 tests/i915/gem_exec_parallel.c  |  29 +-
 tests/i915/gem_exec_reloc.c     | 102 ++--
 tests/i915/gem_exec_schedule.c  | 876 +++++++++++++++++---------------
 tests/i915/gem_exec_store.c     |  36 +-
 tests/i915/gem_exec_suspend.c   |  52 +-
 tests/i915/gem_exec_whisper.c   |  83 +--
 tests/i915/gem_request_retire.c |  17 +-
 tests/i915/gem_ringfill.c       |  48 +-
 tests/i915/gem_spin_batch.c     |  79 +--
 tests/i915/gem_sync.c           | 159 +++---
 tests/i915/gem_userptr_blits.c  |  25 +-
 tests/i915/gem_vm_create.c      |   4 +-
 tests/i915/gem_wait.c           |  20 +-
 tests/i915/gem_workarounds.c    |   2 +-
 tests/i915/i915_hangman.c       |  37 +-
 tests/i915/perf_pmu.c           | 226 ++++----
 tests/i915/sysfs_clients.c      |  87 ++--
 tests/prime_busy.c              |  19 +-
 tests/prime_vgem.c              |  35 +-
 45 files changed, 2188 insertions(+), 1401 deletions(-)
 create mode 100644 lib/intel_ctx.c
 create mode 100644 lib/intel_ctx.h

-- 
2.29.2



More information about the Intel-gfx-trybot mailing list