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

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.

ver2:
- Incorporated review comments (Kamil, Thomas Hellstrom)
ver3:
- Corrected Return format as per kerneldoc

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

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

-- 
2.34.1


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

end of thread, other threads:[~2026-03-13 11:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-12  8:37 [PATCH i-g-t v3 0/2] Unify Batch Buffer Alignment and Introduce Aligned Buffer Mapping nishit.sharma
2026-03-12  8:37 ` [PATCH i-g-t v3 1/2] lib/xe: Introduce aligned buffer mapping nishit.sharma
2026-03-12 13:06   ` Kamil Konieczny
2026-03-12  8:37 ` [PATCH i-g-t v3 2/2] tests/intel/xe_svm_usrptr_madvise: Unify batch buffer alignment nishit.sharma
2026-03-12 13:35 ` ✓ Xe.CI.BAT: success for Unify Batch Buffer Alignment and Introduce Aligned Buffer Mapping (rev3) Patchwork
2026-03-12 13:44 ` ✓ i915.CI.BAT: " Patchwork
2026-03-13 11:13 ` ✗ i915.CI.Full: failure " Patchwork
2026-03-13 11:39 ` ✓ Xe.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