Skip to content

tests/intel/xe_prefetch_fault: Add L2 prefetch fault tests

Varun Gupta igt-dev 3 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesIn review
  2. v22 patches 1 replySuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Drop the gpgpu_shader__l2_prefetch_fault helper and inline the shader generation directly into get_l2_prefetch_shader (Andrzej)
- Simplify the assembly by removing handcrafted dependencies and using the standard load.ugm.d64t.a64.uc.ca.uc syntax (Andrzej)
- Drop unnecessary IGA64_FLAGS define and GFX_VER >= 4000 check (Andrzej)
- Remove overly verbose message descriptor comments (Andrzej)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/intel/xe_prefetch_fault: refactor test to accept shader function pointertests/intel/xe_prefetch_fault.c+15 -82 replies
2/2tests/intel/xe_prefetch_fault: add L2 prefetch fault subteststests/intel/xe_prefetch_fault.c tests/intel/xe_prefetch_fault.c.gen.iga64_codes.c+89 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndrzej Hajda
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH i-g-t v3 0/2] tests/intel/xe_prefetch_fault: Add L2 prefetch fault tests

Add coverage for L2 prefetch faults in the xe_prefetch_fault test.

The existing test framework is first refactored to support different prefetch shader configurations. The second patch then adds coverage for L2 prefetch faults in both regular and SVM modes.

v2:
- Include generated iga64 codes for the new shader to fix compilation failures (Kamil)
v3:
- Drop the gpgpu_shader__l2_prefetch_fault helper and inline the shader generation directly into get_l2_prefetch_shader (Andrzej)
- Simplify the assembly by removing handcrafted dependencies and using the standard load.ugm.d64t.a64.uc.ca.uc syntax (Andrzej)
- Drop unnecessary IGA64_FLAGS define and GFX_VER >= 4000 check (Andrzej)
- Remove overly verbose message descriptor comments (Andrzej)

Varun Gupta (2):
tests/intel/xe_prefetch_fault: refactor test to accept shader function
pointer
tests/intel/xe_prefetch_fault: add L2 prefetch fault subtests

 tests/intel/xe_prefetch_fault.c               | 96 +++++++++++++++++--
 .../xe_prefetch_fault.c.gen.iga64_codes.c     | 17 +++-
 2 files changed, 104 insertions(+), 9 deletions(-)
Signature · 1 line
2.43.0