[PATCH libdrm v2 1/3] xf86drm: adjust device node path for minor base

2016-12-24 Thread Emil Velikov
On 17 December 2016 at 05:09, Jonathan Gray wrote: > When constructing a path to a device node the minor number retrieved > from fstat needs to have the offset of the node type subtracted from it. > Control and render node types have the same major as the primary node > but each has their own

[PATCH libdrm v2 1/3] xf86drm: adjust device node path for minor base

2016-12-17 Thread Jonathan Gray
When constructing a path to a device node the minor number retrieved from fstat needs to have the offset of the node type subtracted from it. Control and render node types have the same major as the primary node but each has their own block of minor types at fixed offsets. v2: remove min < base