[igt-dev] [PATCH v2] core_getversion: Test for desired device
Daniel Stone
daniel at fooishbar.org
Tue Sep 26 16:42:26 UTC 2023
On Mon, 25 Sept 2023 at 09:22, Rob Clark <robdclark at gmail.com> wrote:
> + const char *name = getenv("IGT_REQUIRED_DRIVER");
>
> - fd = drm_open_driver(DRIVER_ANY);
> + fd = __drm_open_driver(DRIVER_ANY);
Shouldn't this try to open the actual driver name? Otherwise we could
false-fail a test because our 'any driver' picked the wrong device
when multiple of them are present.
More information about the igt-dev
mailing list