All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v9 0/7] introduce Xe multigpu and other multi-GPU helpers
@ 2024-02-15 16:10 Kamil Konieczny
  2024-02-15 16:10 ` [PATCH i-g-t v9 1/7] lib/igt_device_scan: Introduce filtering out non-PCI devices Kamil Konieczny
                   ` (9 more replies)
  0 siblings, 10 replies; 24+ messages in thread
From: Kamil Konieczny @ 2024-02-15 16:10 UTC (permalink / raw)
  To: igt-dev; +Cc: Kamil Konieczny, Zbigniew Kempczyński, Janusz Krzysztofik

Introduce some multi-gpu function helpers and macros. This allows
writing new multiGPU tests for i915 without requiring filters.
Solution for Xe is based on filtered views. Both allows to
quickly write tests. There is still drawback of not printing in
children logs <g:gpu-number> for first (for Xe) opened device or for
all opened ones (for i915). I renamed lib from lib/i915/igt_multigpu.*
to lib/intel_multigu.* as I do not know of any non Intel developer
using igt for such tests.

v2: corrected two patches which introduced multigpu lib (Dominik)
  rebased patch intoducing Xe multigpu macro, corrected description
v3: corrected include in first multigpu patch (Dominik)
  fixed typo (Dominik), refactoring code with Xe and gem macro (Kamil)
v4: corrected typo in macro (Dominik)
v5: removed cached names and relaxing checks for filtered devices
  in 3/8 patch, added Janusz to cc in 1/8...5/8 (Kamil)
v6: extended description of patches 1 and 2, fixed bug in 3/8 (Janusz)
  improved usage of _is_already_opened() (Kamil)
v7: restored prohibition of opening the same card at other index (Janusz)
v8: limit checks for N-th card to 0...N-1 range (Janusz)
 simplify if-else in __search_and_open() (Kamil)
v9: dropped patch 3/8 ("lib/drmtest: allow opening cards in random order")
 as it can be added later, replaced 8/8 ("tests/intel/gem_mmap: add basic
 multi-GPU") with refactor in gem_exec_gttfill (Kamil)

Cc: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
Cc: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>

Dominik Karol Piątkowski (4):
  lib/igt_device_scan: Introduce filtering out non-PCI devices
  lib/drmtest: Introduced drm_open_driver_another
  lib/intel_multigpu: Introduce library for multi-GPU scenarios
  lib/intel_multigpu: Introduced gem_multigpu_count_class and
    igt_multi_fork_foreach_gpu

Kamil Konieczny (3):
  lib/intel_multigpu: Add xe_multi_fork_foreach_gpu
  tests/intel/xe_exec_basic: add multigpu subtests
  tests/intel/gem_exec_gttfill: simplify multiGPU subtest

 lib/drmtest.c                  |  19 +++++
 lib/drmtest.h                  |   1 +
 lib/igt_device_scan.c          |  23 ++++++
 lib/igt_device_scan.h          |   2 +
 lib/intel_multigpu.c           | 135 +++++++++++++++++++++++++++++++++
 lib/intel_multigpu.h           |  36 +++++++++
 lib/meson.build                |   1 +
 tests/intel/gem_exec_gttfill.c |  14 +---
 tests/intel/xe_exec_basic.c    |  36 +++++++++
 9 files changed, 257 insertions(+), 10 deletions(-)
 create mode 100644 lib/intel_multigpu.c
 create mode 100644 lib/intel_multigpu.h

-- 
2.42.0


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

end of thread, other threads:[~2024-02-21 10:04 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-15 16:10 [PATCH i-g-t v9 0/7] introduce Xe multigpu and other multi-GPU helpers Kamil Konieczny
2024-02-15 16:10 ` [PATCH i-g-t v9 1/7] lib/igt_device_scan: Introduce filtering out non-PCI devices Kamil Konieczny
2024-02-15 16:10 ` [PATCH i-g-t v9 2/7] lib/drmtest: Introduced drm_open_driver_another Kamil Konieczny
2024-02-16 10:23   ` Janusz Krzysztofik
2024-02-19 17:42     ` Kamil Konieczny
2024-02-20  9:32       ` Janusz Krzysztofik
2024-02-20 18:33         ` Kamil Konieczny
2024-02-21 10:04           ` Janusz Krzysztofik
2024-02-15 16:10 ` [PATCH i-g-t v9 3/7] lib/intel_multigpu: Introduce library for multi-GPU scenarios Kamil Konieczny
2024-02-19 11:11   ` Zbigniew Kempczyński
2024-02-19 17:37     ` Kamil Konieczny
2024-02-15 16:10 ` [PATCH i-g-t v9 4/7] lib/intel_multigpu: Introduced gem_multigpu_count_class and igt_multi_fork_foreach_gpu Kamil Konieczny
2024-02-19 11:20   ` Zbigniew Kempczyński
2024-02-19 17:40     ` Kamil Konieczny
2024-02-19 17:45     ` Kamil Konieczny
2024-02-15 16:10 ` [PATCH i-g-t v9 5/7] lib/intel_multigpu: Add xe_multi_fork_foreach_gpu Kamil Konieczny
2024-02-19 11:22   ` Zbigniew Kempczyński
2024-02-19 11:26   ` Zbigniew Kempczyński
2024-02-15 16:10 ` [PATCH i-g-t v9 6/7] tests/intel/xe_exec_basic: add multigpu subtests Kamil Konieczny
2024-02-15 16:10 ` [PATCH i-g-t v9 7/7] tests/intel/gem_exec_gttfill: simplify multiGPU subtest Kamil Konieczny
2024-02-19 11:29   ` Zbigniew Kempczyński
2024-02-15 18:03 ` ✓ CI.xeBAT: success for introduce Xe multigpu and other multi-GPU helpers (rev9) Patchwork
2024-02-15 18:20 ` ✓ Fi.CI.BAT: " Patchwork
2024-02-16 14:41 ` ✗ Fi.CI.IGT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.