[igt-dev] [PATCH i-g-t 0/6] Rework some command parser version checks

Daniel Vetter daniel at ffwll.ch
Mon Jul 12 14:51:49 UTC 2021


On Sat, Jul 10, 2021 at 10:51:58PM -0500, Jason Ekstrand wrote:
> 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. Disable tests which don't work with a synchronous command parser when
>     the parser is active.  This will maintain as much coverage as possible
>     while allowing us to move the command parser back to synchronous.  In
>     each case, the test is actively attempting to run a batch while the
>     batch buffer is stuck on a spinner.

Can we either just fix them, or delete them? Carrying gunk around that
skips isn't much use imo.
-Daniel

> 
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> 
> Jason Ekstrand (6):
>   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/gem_exec_schedule: Avoid cmdparser dependencies in deep()
>   tests/i915/gem_exec_reloc: Don't attempt active relocations with the
>     command parser
> 
>  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      | 15 ++++++++
>  tests/i915/gem_exec_schedule.c   | 10 ++++--
>  tests/i915/gen7_exec_parse.c     |  2 +-
>  tests/i915/gen9_exec_parse.c     |  2 +-
>  tests/i915/i915_hangman.c        |  2 +-
>  13 files changed, 163 insertions(+), 76 deletions(-)
> 
> -- 
> 2.31.1
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the igt-dev mailing list