From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 0/4] Remove random allocator and improve reloc one
Date: Thu, 1 Dec 2022 14:03:08 +0100 [thread overview]
Message-ID: <20221201130312.69093-1-zbigniew.kempczynski@intel.com> (raw)
During some debugging session with our hw team I just realized that reloc
stateless is quite big problem when I would like to collect few blits
in single batch provided by the library. Especially where are more
more objects required to acquire the offsets and not to stall if more
separate blits should be added.
I removed also RANDOM allocator, we're not using it and in softpin world
it may potentially problematic as we don't control object overlapping.
For verification real world scenario where reloc stateful is required
I changed one of subtest which previously required simple allocator.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Zbigniew Kempczyński (4):
lib/intel_allocator: Remove RANDOM allocator
tests/api_intel_allocator: Remove duplicated reuse and reserve
subtests
lib/intel_allocator_reloc: Introduce stateful allocations in reloc
tests/gem_ctx_shared: Remove necessity of passing offset to function
call
lib/intel_allocator.c | 3 -
lib/intel_allocator.h | 3 +-
lib/intel_allocator_random.c | 191 -------------------------------
lib/intel_allocator_reloc.c | 115 ++++++++++++++++---
lib/meson.build | 1 -
tests/i915/api_intel_allocator.c | 35 +++---
tests/i915/api_intel_bb.c | 12 --
tests/i915/gem_ctx_shared.c | 45 +++-----
8 files changed, 133 insertions(+), 272 deletions(-)
delete mode 100644 lib/intel_allocator_random.c
--
2.34.1
next reply other threads:[~2022-12-01 13:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-01 13:03 Zbigniew Kempczyński [this message]
2022-12-01 13:03 ` [igt-dev] [PATCH i-g-t 1/4] lib/intel_allocator: Remove RANDOM allocator Zbigniew Kempczyński
2022-12-01 13:03 ` [igt-dev] [PATCH i-g-t 2/4] tests/api_intel_allocator: Remove duplicated reuse and reserve subtests Zbigniew Kempczyński
2022-12-01 13:03 ` [igt-dev] [PATCH i-g-t 3/4] lib/intel_allocator_reloc: Introduce stateful allocations in reloc Zbigniew Kempczyński
2022-12-01 13:03 ` [igt-dev] [PATCH i-g-t 4/4] tests/gem_ctx_shared: Remove necessity of passing offset to function call Zbigniew Kempczyński
2022-12-01 14:42 ` [igt-dev] ✗ Fi.CI.BAT: failure for Remove random allocator and improve reloc one 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=20221201130312.69093-1-zbigniew.kempczynski@intel.com \
--to=zbigniew.kempczynski@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/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