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

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Oct 19 11:43:24 UTC 2022


Hi Tvrtko,

On 2022-10-18 at 17:06:29 +0100, Tvrtko Ursulin wrote:
> 
> On 18/10/2022 10:09, Kamil Konieczny wrote:
> > Allow to select all (up to 16) discrete cards with the help of
> > card=all or card=*, for example:
> > 
> > ./gem_basic --device=pci:vendor=intel,device=discrete,card=all
> 
> What should this do btw? Run the tests on more than one card in sequence?
> Isn't that test runner's job?
> 
> Regards,
> Tvrtko

The purpose it to run test in parallel with the help of new fork
helper or with threads. See my RFC patchset (using fork)

https://patchwork.freedesktop.org/series/109487/
Add multi-process subtests for multi-GPUs

Regards,
Kamil

> 
> > Kamil Konieczny (2):
> >    lib/igt_device_scan: refactor filer adding
> >    lib/igt_device_scan: add card=all filter selector
> > 
> >   lib/igt_device_scan.c | 36 ++++++++++++++++++++++++++++++++++--
> >   1 file changed, 34 insertions(+), 2 deletions(-)
> > 


More information about the igt-dev mailing list