public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] Unify Batch Buffer Alignment and Introduce Aligned Buffer Mapping
@ 2026-03-11 17:03 nishit.sharma
  2026-03-11 17:03 ` [PATCH i-g-t 1/2] lib/xe: Introduce aligned buffer mapping nishit.sharma
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: nishit.sharma @ 2026-03-11 17:03 UTC (permalink / raw)
  To: igt-dev, thomas.hellstrom

From: Nishit Sharma <nishit.sharma@intel.com>

This patch series refactors the SVM userptr copy test and batch buffer
setup in test suite to use a new aligned buffer mapping API.

The first patch introduces an interface for mapping buffer objects with
platform-required alignment, improving cross-platform compatibility and
simplifying batch buffer setup.

The second patch updates the SVM userptr copy test to leverage this API,
unifying batch buffer alignment logic and eliminating platform-specific
address assignment and conditional code paths.

Nishit Sharma (2):
  lib/xe: Introduce aligned buffer mapping
  tests/intel/xe_svm_usrptr_madvise: Unify batch buffer alignment

 lib/xe/xe_ioctl.c                   | 40 +++++++++++++++++++++++++++++
 lib/xe/xe_ioctl.h                   |  1 +
 tests/intel/xe_svm_usrptr_madvise.c | 11 ++++----
 3 files changed, 47 insertions(+), 5 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-03-12 21:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 17:03 [PATCH i-g-t 0/2] Unify Batch Buffer Alignment and Introduce Aligned Buffer Mapping nishit.sharma
2026-03-11 17:03 ` [PATCH i-g-t 1/2] lib/xe: Introduce aligned buffer mapping nishit.sharma
2026-03-11 18:53   ` Hellstrom, Thomas
2026-03-11 17:03 ` [PATCH i-g-t 2/2] tests/intel/xe_svm_usrptr_madvise: Unify batch buffer alignment nishit.sharma
2026-03-11 18:54   ` Hellstrom, Thomas
2026-03-12  1:39 ` ✓ Xe.CI.BAT: success for Unify Batch Buffer Alignment and Introduce Aligned Buffer Mapping Patchwork
2026-03-12  1:48 ` ✓ i915.CI.BAT: " Patchwork
2026-03-12 21:03 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-12 21:45 ` ✓ i915.CI.Full: success " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox