From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t v6 0/8] Make gpgpu fill tests libdrm independent
Date: Wed, 20 May 2020 10:31:45 +0200 [thread overview]
Message-ID: <20200520083153.10756-1-zbigniew.kempczynski@intel.com> (raw)
I've introduced intel_bb which is very simplified version of libdrm
powered intel_batchbuffer. Currently it supports simple relocation
but it is enough to cover all gpgpu fill needs. Other (fenced)
relocation will be added when I will have to face with such pipelines /
batchbuffers.
As commands created in gpu_cmds.c are coupled more than I thought on
the beginning (media fill also use them) "_v2" suffix was introduced.
When all tests will be rewritten to "_v2" old functions can be removed
and "_v2" can be deleted.
v2: changes according to the review:
- make intel_bb api more consistent and universal
- add intel_bb api documentation
- add alignment field in buf_ops buffer initalization for linear
buffers
v3: changes:
- add all gens pipelines
- fix compiling issues on non-x86 archs
- add ctx (suggested by knr)
v4: changes:
- add indexing tree and render target write flag
v5: changes:
- randomizing addresses to avoid relocations
- fixing bug in gen8+ pipeline setup (Chris)
v6: changes:
- fixing invalid realloc size
- change invalid WB mapping to WC
Zbigniew Kempczyński (8):
lib/intel_bufops: Add bufops reference and adapt stride requirement
lib/rendercopy_bufmgr: Pass alignment during buffer initialization
lib/intel_batchbuffer: Introduce intel_bb
lib/gpu_cmds: Add gpgpu pipeline functions based on intel_bb
lib/gpgpu_fill: libdrm-free gpgpu pipeline creation
lib/intel_batchbuffer: Introduce temporary igt_fillfunc_v2_t
tests/gem_gpgpu_fill: Remove libdrm dependency
HAX: run gpgpu_fill in BAT only
lib/gpgpu_fill.c | 187 +++++++++
lib/gpgpu_fill.h | 34 ++
lib/gpu_cmds.c | 563 ++++++++++++++++++++++++++
lib/gpu_cmds.h | 54 +++
lib/intel_batchbuffer.c | 504 +++++++++++++++++++++++
lib/intel_batchbuffer.h | 109 +++++
lib/intel_bufops.c | 55 ++-
lib/intel_bufops.h | 7 +-
lib/rendercopy_bufmgr.c | 4 +-
tests/i915/gem_gpgpu_fill.c | 126 ++++--
tests/intel-ci/fast-feedback.testlist | 161 +-------
11 files changed, 1603 insertions(+), 201 deletions(-)
--
2.26.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next reply other threads:[~2020-05-20 8:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-20 8:31 Zbigniew Kempczyński [this message]
2020-05-20 8:31 ` [igt-dev] [PATCH i-g-t v6 1/8] lib/intel_bufops: Add bufops reference and adapt stride requirement Zbigniew Kempczyński
2020-05-20 8:31 ` [igt-dev] [PATCH i-g-t v6 2/8] lib/rendercopy_bufmgr: Pass alignment during buffer initialization Zbigniew Kempczyński
2020-05-20 8:31 ` [igt-dev] [PATCH i-g-t v6 3/8] lib/intel_batchbuffer: Introduce intel_bb Zbigniew Kempczyński
2020-05-20 8:31 ` [igt-dev] [PATCH i-g-t v6 4/8] lib/gpu_cmds: Add gpgpu pipeline functions based on intel_bb Zbigniew Kempczyński
2020-05-20 8:31 ` [igt-dev] [PATCH i-g-t v6 5/8] lib/gpgpu_fill: libdrm-free gpgpu pipeline creation Zbigniew Kempczyński
2020-05-20 8:31 ` [igt-dev] [PATCH i-g-t v6 6/8] lib/intel_batchbuffer: Introduce temporary igt_fillfunc_v2_t Zbigniew Kempczyński
2020-05-20 10:02 ` Chris Wilson
2020-05-20 8:31 ` [igt-dev] [PATCH i-g-t v6 7/8] tests/gem_gpgpu_fill: Remove libdrm dependency Zbigniew Kempczyński
2020-05-20 8:31 ` [igt-dev] [PATCH i-g-t v6 8/8] HAX: run gpgpu_fill in BAT only Zbigniew Kempczyński
2020-05-20 9:38 ` [igt-dev] ✓ Fi.CI.BAT: success for Make gpgpu fill tests libdrm independent (rev6) Patchwork
2020-05-20 9:59 ` [igt-dev] =?unknown-8bit?b?4pyT?= " Chris Wilson
2020-05-20 21:20 ` [igt-dev] ✓ Fi.CI.IGT: " 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=20200520083153.10756-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