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

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


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [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-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
  0 siblings, 1 reply; 9+ 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] 9+ messages in thread

end of thread, other threads:[~2024-09-06 18:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-04  7:38 [PATCH i-g-t 0/2] lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_region Dominik Karol Piątkowski
2024-09-04  7:38 ` [PATCH i-g-t 1/2] " Dominik Karol Piątkowski
2024-09-04  8:03   ` Zbigniew Kempczyński
2024-09-04  7:38 ` [PATCH i-g-t 2/2] lib/intel_batchbuffer: Fix igt_require in intel_bb_create_no_relocs Dominik Karol Piątkowski
2024-09-04 17:33 ` ✓ Fi.CI.BAT: success for lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_region Patchwork
2024-09-04 17:37 ` ✓ CI.xeBAT: " Patchwork
2024-09-05 14:56 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-09-06 18:53 ` ✗ CI.xeFULL: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
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-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 2/2] lib/intel_batchbuffer: Fix igt_require in intel_bb_create_no_relocs Dominik Karol Piątkowski

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