On 30 November 2016 at 00:00, Jonathan Gray wrote:
> On Tue, Nov 29, 2016 at 08:03:58PM +, Emil Velikov wrote:
>> On 26 November 2016 at 00:40, Jonathan Gray wrote:
>> > This avoids walking all of /dev and directly maps the fd to a path to a
>> > primary node.
>> >
>> I realise that the code
On Tue, Nov 29, 2016 at 08:03:58PM +, Emil Velikov wrote:
> On 26 November 2016 at 00:40, Jonathan Gray 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
On 26 November 2016 at 00:40, Jonathan Gray 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
This avoids walking all of /dev and directly maps the fd to a path to a
primary node.
Signed-off-by: Jonathan Gray
---
xf86drm.c | 41 +
1 file changed, 41 insertions(+)
diff --git a/xf86drm.c b/xf86drm.c
index 2a60b2e..a4b2506 100644
--- a/xf86drm.c
+++