Skip to content

Unify Batch Buffer Alignment and Introduce Aligned Buffer Mapping

[email protected] igt-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 1 replySuperseded
  3. v22 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/xe: Introduce aligned buffer mappinglib/xe/xe_ioctl.c lib/xe/xe_ioctl.h+47 -01 reply
2/2tests/intel/xe_svm_usrptr_madvise: Unify batch buffer alignmenttests/intel/xe_svm_usrptr_madvise.c+6 -50 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchThomas HellströmKamil Konieczny
1/2R-b
2/2R-b

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

Read the v4 thread

Cover letter [PATCH i-g-t v4 0/2] Unify Batch Buffer Alignment and Introduce Aligned Buffer Mapping

From: Nishit Sharma <[email protected]>

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 ver4:
- Incorporated review comments (Kamil)

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

 lib/xe/xe_ioctl.c                   | 46 +++++++++++++++++++++++++++++
 lib/xe/xe_ioctl.h                   |  1 +
 tests/intel/xe_svm_usrptr_madvise.c | 11 +++----
 3 files changed, 53 insertions(+), 5 deletions(-)
Signature · 1 line
2.34.1