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

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Fri Oct 21 08:14:39 UTC 2022


On 19/10/2022 12:43, Kamil Konieczny wrote:
> 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

Those would be running completely independently - I mean no interaction 
between the GPUs like work handover, buffer sharing and that? If so my 
gut feeling is that the direction needs to be carefully considered. Test 
runner could do that just as well for probably much less complication. 
But that's just my opinion, so FWIW.

Regards,

Tvrtko


More information about the igt-dev mailing list