[PATCH libdrm 5/5] xf86drm: implement an OpenBSD specific drmGetDevice
Jonathan Gray
jsg at jsg.id.au
Wed Nov 30 00:00:07 UTC 2016
On Tue, Nov 29, 2016 at 08:03:58PM +0000, Emil Velikov wrote:
> On 26 November 2016 at 00:40, Jonathan Gray <jsg at jsg.id.au> wrote:
> > This avoids walking all of /dev and directly maps the fd to a path to a
> > primary node.
> >
> I realise that the code is pretty ugly/bad/etc, but I would stay way
> from similar optimisations. As-is it will just work as you guys get
> support for render nodes/other.
> That is unless things are noticeably slow [or bad in general].
>
> Thanks
> Emil
/dev/ has 1200 files on a machine here, drm nodes aren't in a drm
specific directory as on linux.
More information about the dri-devel
mailing list