[PATCH i-g-t 0/1] lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_memory
Dominik Karol Piątkowski
dominik.karol.piatkowski at intel.com
Mon Sep 2 11:46:55 UTC 2024
This patch extends __intel_bb_create to take memory region as argument,
making it possible to create batchbuffer in non-vram memory on GPUs
that have vram. Existing helper functions preserve original behavior.
To make use of this extension, intel_bb_create_with_context_in_memory
is introduced, that creates bb with given context in given memory
region.
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski at intel.com>
Dominik Karol Piątkowski (1):
lib/intel_batchbuffer: Introduce
intel_bb_create_with_context_in_memory
lib/intel_batchbuffer.c | 48 +++++++++++++++++++++++++++++++++--------
lib/intel_batchbuffer.h | 3 +++
2 files changed, 42 insertions(+), 9 deletions(-)
--
2.34.1
More information about the igt-dev
mailing list