Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/1] lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_memory
@ 2024-09-02 11:46 Dominik Karol Piątkowski
  2024-09-02 11:46 ` [PATCH i-g-t 1/1] " Dominik Karol Piątkowski
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Dominik Karol Piątkowski @ 2024-09-02 11:46 UTC (permalink / raw)
  To: igt-dev; +Cc: Zbigniew Kempczyński, Dominik Karol Piątkowski

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@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


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

end of thread, other threads:[~2024-09-03 13:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02 11:46 [PATCH i-g-t 0/1] lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_memory Dominik Karol Piątkowski
2024-09-02 11:46 ` [PATCH i-g-t 1/1] " Dominik Karol Piątkowski
2024-09-02 21:34   ` Zbigniew Kempczyński
2024-09-02 18:45 ` ✓ CI.xeBAT: success for " Patchwork
2024-09-02 19:04 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-09-02 23:16 ` ✗ CI.xeFULL: " Patchwork
2024-09-03  9:34 ` [PATCH v2 i-g-t 0/2] lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_region Dominik Karol Piątkowski
2024-09-03  9:34   ` [PATCH i-g-t 1/2] " Dominik Karol Piątkowski
2024-09-03  9:34   ` [PATCH i-g-t 2/2] lib/intel_batchbuffer: Fix igt_require in intel_bb_create_no_relocs Dominik Karol Piątkowski
2024-09-03 12:07 ` ✓ CI.xeBAT: success for lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_memory Patchwork
2024-09-03 12:33 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-09-03 13:44 ` ✓ CI.xeFULL: success " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox