[PATCH i-g-t v3 0/2] tests/intel/xe_prefetch_fault: Add L2 prefetch fault tests
Varun Gupta <[email protected]>
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <[email protected]> |
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(-)
--
2.43.0