From: "Dominik Karol Piątkowski" <dominik.karol.piatkowski@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>,
"Dominik Karol Piątkowski" <dominik.karol.piatkowski@intel.com>
Subject: [PATCH v2 i-g-t 0/2] lib/intel_batchbuffer: Introduce intel_bb_create_with_context_in_region
Date: Tue, 3 Sep 2024 11:34:32 +0200 [thread overview]
Message-ID: <20240903093434.6959-1-dominik.karol.piatkowski@intel.com> (raw)
In-Reply-To: <20240902114656.9779-1-dominik.karol.piatkowski@intel.com>
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
next prev parent reply other threads:[~2024-09-03 9:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Dominik Karol Piątkowski [this message]
2024-09-03 9:34 ` [PATCH i-g-t 1/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
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240903093434.6959-1-dominik.karol.piatkowski@intel.com \
--to=dominik.karol.piatkowski@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=zbigniew.kempczynski@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox