[igt-dev] [PATCH i-g-t v1 0/4] drmtest changes for filtering GPUs on multi-gpu

Kamil Konieczny kamil.konieczny at linux.intel.com
Thu Nov 2 12:10:35 UTC 2023


Here is a proposed solution for multi-GPU testing with the help
of new drmtest functions. It will work with and without filters,
also when first card is non-Intel one with no render device.

sudo build/tests/xe_create --r multigpu-create-massive-size

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

IGT-Version: 1.28-g24b5fbcb5 (x86_64) (Linux: 6.6.0-rc3-xe-public-37b2d042c23a+ x86_64)
Opened device: /dev/dri/card1
Starting subtest: multigpu-create-massive-size
<g:0> Opened device: /dev/dri/card1
<g:1> Opened device: /dev/dri/card2
<g:2> Opened device: /dev/dri/card3
Subtest multigpu-create-massive-size: SUCCESS (0.202s)

Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>


Kamil Konieczny (4):
  lib/drmtest: add multi-GPU helpers for filtered devices
  tests/intel/xe_create: add multi-GPU basic test
  lib/drmtest: create helper for dropping logged opened paths
  tests/intel/xe_create: print first opened card

 lib/drmtest.c           | 126 +++++++++++++++++++++++++++++++++++++++-
 lib/drmtest.h           |   5 ++
 tests/intel/xe_create.c |  27 +++++++++
 3 files changed, 155 insertions(+), 3 deletions(-)

-- 
2.42.0



More information about the igt-dev mailing list