[igt-dev] [PATCH i-g-t] lib/drmtest: Move open device to separate function

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 30 08:48:01 UTC 2018


Quoting Katarzyna Dec (2018-08-30 09:38:29)
> While working on IGT code and during reviewes I've noticed that
> it could be nice to have function that is opening particular device.
> Let's move out conditions for opening device and rename __open_device
> to __search_and_open() function.

Sell an improvement. How about tackling that we repeat the drm_version_t
name lookup for driver checking and make that efficient. Opening the way
forward for a struct drm_driver.
-Chris


More information about the igt-dev mailing list