[Intel-gfx] [PATCH i-g-t] gem_wsim: Implement device selection

Chris Wilson chris at chris-wilson.co.uk
Tue Nov 17 12:18:04 UTC 2020


Quoting Tvrtko Ursulin (2020-11-17 11:40:50)
> 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.

Ok, looks straightforward enough. (I still like having an idiot's guide
with examples of -L output and what to pass to -D).

> +       fd = igt_open_card(&card);
> +       igt_require(fd);

Does igt_require() still generate weirdness when used outside of igt
tests?

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list