[igt-dev] [PATCH i-g-t v4 0/2] lib/igt_device_scan: add filer card=all

Kamil Konieczny kamil.konieczny at linux.intel.com
Thu Nov 10 12:38:02 UTC 2022


Allow to select all (up to 64) discrete cards with the help of
card=all or card=*, for example:

./gem_basic --device=pci:vendor=intel,device=discrete,card=all

v2: correct misspelled word at patch 1/2 (Zbigniew), increase
  max number of filters from 16 to 64, stop filter splat at
  patch 2/2 (Petri)
v3: correct doc (patch 2/2)
v4: correct filter matching, reorganize loop (patch 2/2),
  tested on machine with two discrete cards

Cc: Petri Latvala <petri.latvala at intel.com>
Cc: "Zbigniew Kempczyński" <zbigniew.kempczynski at intel.com>

Kamil Konieczny (2):
  lib/igt_device_scan: refactor filter adding
  lib/igt_device_scan: add card=all filter selector

 lib/igt_device_scan.c | 46 +++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 44 insertions(+), 2 deletions(-)

-- 
2.34.1



More information about the igt-dev mailing list