[PATCH i-g-t 0/4] tests/intel/xe_eudebug_online: Introduce read/write pagefault tests

Gwan-gyeong Mun gwan-gyeong.mun at intel.com
Fri Nov 15 14:11:28 UTC 2024


Add a pagefault read/write test case so that the xe_eudebug_online test can
validate the invalid access pagefault scenario that the eu thread can cause.

For these tests, use the newly introduced DRM_XE_EUDEBUG_EVENT_PAGEFAULT 
event and struct drm_xe_eudebug_event_pagefault.

The added test cases are shown below.
	xe_eudebug_online at pagefault-read
	xe_eudebug_online at pagefault-write

Gwan-gyeong Mun (2):
  lib/gpgpu_shader: Add causing a read pagefault from the eu thread
  tests/intel/xe_eudebug_online: Add read/write pagefault online tests

Jonathan Cavitt (2):
  lib/gppgu_shader: Add write to ppgtt offset
  eudebug: Add eudebug pagefault event declarations

 .../drm-uapi-experimental/xe_drm_eudebug.h    |  13 ++
 lib/gpgpu_shader.c                            | 201 ++++++++++++++++
 lib/gpgpu_shader.h                            |   3 +
 lib/iga64_generated_codes.c                   | 100 +++++++-
 lib/xe/xe_eudebug.c                           |  11 +
 tests/intel/xe_eudebug_online.c               | 219 +++++++++++++++++-
 6 files changed, 542 insertions(+), 5 deletions(-)

-- 
2.46.1



More information about the igt-dev mailing list