From: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: tursulin@igalia.com, zbigniew.kempczynski@intel.com,
kamil.konieczny@linux.intel.com, lukasz.laguna@intel.com
Subject: [PATCH v3 i-g-t 0/2] benchmarks/gem_wsim: support gens without relocations and mmap fix
Date: Thu, 25 Jul 2024 14:26:10 +0200 [thread overview]
Message-ID: <20240725122612.1290090-1-marcin.bernatowicz@linux.intel.com> (raw)
This patch series introduces two key enhancements to the gem_wsim
benchmark tool.
The first commit improves support for generations that do not use
relocations. It adopts the approach used in 'lib/igt_dummyload',
leveraging the 'intel_allocator' to compute offsets for these
generations. This change also introduces a shared 'struct vm' for
both i915 and Xe, which includes a 'vm_id' used by the 'intel_allocator'
for address assignment. This enhances the compatibility of 'gem_wsim'
with newer platforms running i915.
The second commit addresses an issue with the 'gem_mmap__wc' function,
which was found to be incompatible with discrete graphics cards.
The mapping approach from 'lib/igt_dummyload' has been adopted.
v2: Split mmap change to separate patch (Tvrtko)
v3: Correct brace balance, indentation (Kamil)
Remove redundant 'ptr' variable
Marcin Bernatowicz (2):
benchmarks/gem_wsim: Support gens without relocations
benchmarks/gem_wsim: Fix mmap for discrete graphics cards
benchmarks/gem_wsim.c | 111 +++++++++++++++++++++++++++++++-----------
1 file changed, 83 insertions(+), 28 deletions(-)
--
2.31.1
next reply other threads:[~2024-07-25 12:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-25 12:26 Marcin Bernatowicz [this message]
2024-07-25 12:26 ` [PATCH v3 i-g-t 1/2] benchmarks/gem_wsim: Support gens without relocations Marcin Bernatowicz
2024-07-25 12:26 ` [PATCH v3 i-g-t 2/2] benchmarks/gem_wsim: Fix mmap for discrete graphics cards Marcin Bernatowicz
2024-07-25 13:22 ` ✓ Fi.CI.BAT: success for benchmarks/gem_wsim: support gens without relocations and mmap fix (rev2) Patchwork
2024-07-25 13:38 ` ✓ CI.xeBAT: " Patchwork
2024-07-25 16:17 ` ✓ CI.xeFULL: " Patchwork
2024-07-26 0:44 ` ✗ Fi.CI.IGT: failure " 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=20240725122612.1290090-1-marcin.bernatowicz@linux.intel.com \
--to=marcin.bernatowicz@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=lukasz.laguna@intel.com \
--cc=tursulin@igalia.com \
--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