Skip to content

lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_region

Dominik Karol Piątkowski igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

v2 from the cover letter

- Support both i915 and xe in intel_bb_create_with_context_in_region
- Extend intel_bb_create_full to use region argument
- Fix igt_require in intel_bb_create_no_relocs

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_regionlib/intel_batchbuffer.c lib/intel_batchbuffer.h tests/intel/xe_pat.c+56 -181 reply
2/2lib/intel_batchbuffer: Fix igt_require in intel_bb_create_no_relocslib/intel_batchbuffer.c+2 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchZbigniew Kempczyński
1/2R-b
2/2

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

Read the v1 thread

Cover letter [PATCH i-g-t 0/2] lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_region

This series extends __intel_bb_create to take memory region as argument, making it possible to create batchbuffer in given memory region. Existing helper functions preserve original behavior.

To make use of this extension, intel_bb_create_with_context_in_region is introduced, that creates bb with given context in given memory region.

v2:
- Support both i915 and xe in intel_bb_create_with_context_in_region
- Extend intel_bb_create_full to use region argument
- Fix igt_require in intel_bb_create_no_relocs

Dominik Karol Piątkowski (2):
lib/intel_batchbuffer: Introduce
intel_bb_create_with_context_in_region
lib/intel_batchbuffer: Fix igt_require in intel_bb_create_no_relocs

 lib/intel_batchbuffer.c | 68 +++++++++++++++++++++++++++++++----------
 lib/intel_batchbuffer.h |  5 ++-
 tests/intel/xe_pat.c    |  4 +--
 3 files changed, 58 insertions(+), 19 deletions(-)
Signature · 1 line
2.34.1