On Tue, Nov 29, 2016 at 08:03:58PM +0000, Emil Velikov wrote: > On 26 November 2016 at 00:40, Jonathan Gray <jsg@xxxxxxxxx> 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. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel