[Mesa-dev] [PATCH] egl/drm: Don't "fall back" to /dev/dri/card0 if the first open fails

Adam Jackson ajax at redhat.com
Fri Aug 25 20:29:12 UTC 2017


On Fri, 2017-08-25 at 14:41 +0100, Emil Velikov wrote:

> Should we drop the "if (n != -1 && n < sizeof(buf))" part as well with
> this patch?

Meh. I've got some other changes coming in the area so that'll probably
happen soon anyway. At least for this change I just wanted to make
things deterministic and either open the named device for or fail.

- ajax


More information about the mesa-dev mailing list