Skip to content

Context isolation uAPI fixes

Adrian Larumbe igt-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 1 replyIn review
  2. v62 patches 4 repliesSuperseded
  3. v52 patches 4 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/i915/i915_drm_local: Remove COMPUTE class enginelib/i915/i915_drm_local.h+0 -20 replies
2/3i915/gem_ctx_isolation: Change semantics of ctx isolation uAPItests/i915/gem_ctx_isolation.c+34 -331 reply
3/3i915/gem_ctx_isolation: Skip engine reset context test on DG2tests/i915/gem_ctx_isolation.c+31 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

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

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(-)
Signature · 1 line
2.38.0