Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v7 0/3] drmtest changes for running tests on multi-gpu
@ 2023-10-03 14:59 Kamil Konieczny
  2023-10-03 14:59 ` [igt-dev] [PATCH i-g-t v7 1/3] lib/drmtest: allow out of order device opening Kamil Konieczny
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Kamil Konieczny @ 2023-10-03 14:59 UTC (permalink / raw)
  To: igt-dev

Allow to open other cards out of order with __drm_open_driver_another()
There is still a problem left when there is non-matched first device and
no filters are used, it will not work with legacy opening but I will
leave that for later. With filters it now works on four GPUs board, when
first card is non-Intel one with no render device:

sudo IGT_DEVICE=pci:vendor=Intel,device=discrete,card=all build/tests/xe_create --r multigpu-create-massive-size

Opened device: /dev/dri/card1
Starting subtest: multigpu-create-massive-size
<g:1> Opened device: /dev/dri/card2
<g:2> Opened device: /dev/dri/card3
<g:3> Opened device: /dev/dri/card4
Subtest multigpu-create-massive-size: SUCCESS (0.209s)

v2: dropped additional patch 2/3 ("lib/drmtest: add multigpu helpers")
  changed 3/3 RFC patch as additional subtest
v3: fixes in test (Zbigniew)
  fixes in drmlib functions (Zbigniew, Kamil)
v4: corrected test description (Kamil)
v5: restore boundary index for already opened device (Kamil)
v6: fixes in libdrm: start searching for driver from requested index,
    limit checks for already opened drivers to currently
    opened count (Kamil)
v7: drop checks for already opened device with filters,
  change a place for igt_debug message, improve debugs (Kamil)

Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Petri Latvala <adrinael@adrinael.net>
Cc: Arkadiusz Hiler <arek@hiler.eu>

Kamil Konieczny (3):
  lib/drmtest: allow out of order device opening
  tests/intel/xe_create: extend massive subtest to multi-gpu
  lib/drmtest: drop checks for opened device for filters

 lib/drmtest.c           | 42 ++++++++++++++++++++++++++++-------------
 tests/intel/xe_create.c | 25 ++++++++++++++++++++++++
 2 files changed, 54 insertions(+), 13 deletions(-)

-- 
2.42.0

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

end of thread, other threads:[~2023-10-03 16:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-03 14:59 [igt-dev] [PATCH i-g-t v7 0/3] drmtest changes for running tests on multi-gpu Kamil Konieczny
2023-10-03 14:59 ` [igt-dev] [PATCH i-g-t v7 1/3] lib/drmtest: allow out of order device opening Kamil Konieczny
2023-10-03 14:59 ` [igt-dev] [PATCH i-g-t v7 2/3] tests/intel/xe_create: extend massive subtest to multi-gpu Kamil Konieczny
2023-10-03 14:59 ` [igt-dev] [PATCH i-g-t v7 3/3] lib/drmtest: drop checks for opened device for filters Kamil Konieczny
2023-10-03 16:02 ` [igt-dev] ✗ Fi.CI.BAT: failure for drmtest changes for running tests on multi-gpu (rev6) Patchwork
2023-10-03 16:12 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork

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