[igt-dev] [PATCH i-g-t v7 0/3] Context isolation uAPI fixes

Adrian Larumbe adrian.larumbe at collabora.com
Wed Oct 19 14:40:45 UTC 2022


This patch series was prompted by a requirement laid out in
https://gitlab.freedesktop.org/drm/intel/-/issues/4264

There's a parallel kernel patch at
https://lists.freedesktop.org/archives/intel-gfx/2022-July/302530.html

It addresses two main issues:
 - Determine whether a given engine has context isolation support in UM rather
than querying the kernel driver through a param IOCTL, because its semantics
are due to change from an engine availability bitmask to a simple boolean.
 - Skip tests where a reset is involved and both RCS and CSS engines are present.
Currently the only device where this would be the case is DG2.

Adrian Larumbe (3):
  lib/i915/i915_drm_local: Remove COMPUTE class engine
  i915/gem_ctx_isolation: Change semantics of ctx isolation uAPI
  i915/gem_ctx_isolation: Skip engine reset context test on DG2

 lib/i915/i915_drm_local.h      |  2 -
 tests/i915/gem_ctx_isolation.c | 99 ++++++++++++++++++++++------------
 2 files changed, 65 insertions(+), 36 deletions(-)

-- 
2.38.0



More information about the igt-dev mailing list