Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 i-g-t 0/2] benchmarks/gem_wsim: support gens without relocations and mmap fix
@ 2023-12-14 20:13 Marcin Bernatowicz
  2023-12-14 20:13 ` [PATCH v2 i-g-t 1/2] benchmarks/gem_wsim: Support gens without relocations Marcin Bernatowicz
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Marcin Bernatowicz @ 2023-12-14 20:13 UTC (permalink / raw)
  To: igt-dev

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.
The approach present in 'lib/igt_dummyload' has been adopted,
leveraging the 'intel_allocator' to compute offsets on 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.

Marcin Bernatowicz (2):
  benchmarks/gem_wsim: Support gens without relocations
  benchmarks/gem_wsim: Fix mmap for discrete graphics cards

 benchmarks/gem_wsim.c | 107 ++++++++++++++++++++++++++++++++----------
 1 file changed, 81 insertions(+), 26 deletions(-)

-- 
2.31.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-07-25  9:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-14 20:13 [PATCH v2 i-g-t 0/2] benchmarks/gem_wsim: support gens without relocations and mmap fix Marcin Bernatowicz
2023-12-14 20:13 ` [PATCH v2 i-g-t 1/2] benchmarks/gem_wsim: Support gens without relocations Marcin Bernatowicz
2024-07-23  9:52   ` Kamil Konieczny
2024-07-25  9:13     ` Bernatowicz, Marcin
2023-12-14 20:13 ` [PATCH v2 i-g-t 2/2] benchmarks/gem_wsim: Fix mmap for discrete graphics cards Marcin Bernatowicz
2024-07-23 10:36   ` Kamil Konieczny
2024-07-25  7:26     ` Bernatowicz, Marcin
2024-07-25  9:06       ` Michal Wajdeczko
2024-07-25  9:52         ` Bernatowicz, Marcin
2023-12-14 21:47 ` ✓ Fi.CI.BAT: success for benchmarks/gem_wsim: support gens without relocations and mmap fix Patchwork
2023-12-14 22:39 ` ✗ Fi.CI.IGT: failure " Patchwork
2023-12-14 22:58 ` ✗ CI.xeBAT: " Patchwork

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