[PATCH v2 i-g-t 0/2] lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_region
Dominik Karol Piątkowski
dominik.karol.piatkowski at intel.com
Tue Sep 3 09:34:32 UTC 2024
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
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski at intel.com>
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(-)
--
2.34.1
More information about the igt-dev
mailing list