[igt-dev] [PATCH i-g-t v2] gem_wsim: Implement device selection

Chris Wilson chris at chris-wilson.co.uk
Tue Nov 17 14:06:26 UTC 2020


Quoting Tvrtko Ursulin (2020-11-17 13:59:18)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> -L and -D <device> on the command line.
> 
> With no device specified tool tries to find i915 discrete or integrated in
> that order.
> 
> v2:
>  * Fix error handling and support render devices.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Hmm, optarg should be a pointer into the argv, so is the copy necessary?
-Chris


More information about the igt-dev mailing list