[igt-dev] [PATCH i-g-t 0/9] Prepare for a synchronous command parser

Jason Ekstrand jason at jlekstrand.net
Wed Jul 14 17:31:32 UTC 2021


We're trying to move the command parser in i915 back to being synchronous
and happening in execbuf().  This patch series does two things primarily:

 1. Rework the way we check for the command parser.  Previously, we had a
    parameter that claimed to check per-engine but the engine was ignored.
    With this series, we now have a version which doesn't take an engine
    for general "Is there a command parser at all?" checks and one which
    takes a context config and an engine specifier and provides an accurate
    check.

 2. Delete tests which don't work with a synchronous command parser.
    Originally, I took a more conservative approach and just made those
    tests skip but Daniel had patches to delete them since we'd like to
    make relocations immediate again as well and then they won't work at
    all.

Cc: Lakshminarayana Vudum <lakshminarayana.vudum at intel.com>

Daniel Vetter (4):
  tests/gem_exec_schedule: Use store_dword_plug again (v2)
  Revert "test/i915/gem_exec_reloc: Restore interclient testings"
  Revert "i915/gem_exec_reloc: Flood the ring with GPU relocs"
  Revert "i915/gem_exec_reloc: Check that relocations do not block"

Jason Ekstrand (5):
  lib/intel_ctx: Add a intel_ctx_cfg_engine_class helper
  tests/i915/gem_eio: Convert to intel_ctx_t
  tests/i915/gem_ctx_persistence: Use intel_ctx_t for hang subtests
  i915: Improve the precision of command parser checks
  tests/i915/gen9_exec_parse: Expect sync_fence_status to succeed

 lib/i915/gem_submission.c        |  38 ++-
 lib/i915/gem_submission.h        |   8 +-
 lib/igt_dummyload.c              |  15 +-
 lib/intel_ctx.c                  |  42 +--
 lib/intel_ctx.h                  |   1 +
 tests/i915/gem_ctx_persistence.c |  43 +--
 tests/i915/gem_eio.c             |  59 ++--
 tests/i915/gem_exec_balancer.c   |   2 +-
 tests/i915/gem_exec_reloc.c      | 445 -------------------------------
 tests/i915/gem_exec_schedule.c   |  52 +---
 tests/i915/gen7_exec_parse.c     |   2 +-
 tests/i915/gen9_exec_parse.c     |   6 +-
 tests/i915/i915_hangman.c        |   2 +-
 13 files changed, 146 insertions(+), 569 deletions(-)

-- 
2.31.1



More information about the igt-dev mailing list