Skip to content

xe: Test scratch page under fault mode

Oak Zeng igt-dev 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest4 patches 1 replyIn review
  2. v64 patches 6 repliesSuperseded
  3. v54 patches 2 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v44 patches1 replySuperseded
v34 patches2 repliesSuperseded
v24 patches3 repliesSuperseded
v14 patches1 replySuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib/xe: Fix a comment errorlib/xe/xe_ioctl.c+2 -20 replies
2/4lib/xe/xe_util: Introduce helper functionslib/xe/xe_util.c lib/xe/xe_util.h+278 -00 replies
3/4tests/intel/xe_exec_fault_mode: Test scratch page under fault modetests/intel/xe_exec_fault_mode.c+68 -00 replies
4/4tests/intel/xe_vm: Allow scratch page under fault mode on LNL and BMGtests/intel/xe_vm.c+7 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchZbigniew KempczyńskiMatthew BrostAshutosh Dixit
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v7 thread

Cover letter [i-g-t v7 0/4] xe: Test scratch page under fault mode

This series intoduces a subtest for Xe to test scratch page under fault mode.

It also includes some helper functions to make the test easier.

Today most of igt tests use one single function to perform multiple subtests. flags are used to control the behavior of the test. While this is a good way to write efficient tests, it also makes the test difficult to maintain, especially when we add more and more subtests into single test function.

This patch series introduces some helper functions with which we can write more readable tests. This is illustrated in patch 4 of this series.

Note the intention of this patch series is not to replace the existing
igt tests, but to provide an alternative way to write simple tests.Bommu Krishnaiah (1):
lib/xe/xe_util: Introduce helper functions

Bommu Krishnaiah (1):
lib/xe/xe_util: Introduce helper functions

Oak Zeng (3):
lib/xe: Fix a comment error tests/intel/xe_exec_fault_mode: Test scratch page under fault mode tests/intel/xe_vm: Allow scratch page under fault mode on LNL and BMG

 lib/xe/xe_ioctl.c                |   4 +-
 lib/xe/xe_util.c                 | 239 +++++++++++++++++++++++++++++++
 lib/xe/xe_util.h                 |  39 +++++
 tests/intel/xe_exec_fault_mode.c |  68 +++++++++
 tests/intel/xe_vm.c              |   7 +
 5 files changed, 355 insertions(+), 2 deletions(-)
Signature · 1 line
2.26.3