[PATCH libdrm v2 1/3] xf86drm: adjust device node path for minor base
Emil Velikov
emil.l.velikov at gmail.com
Sat Dec 24 17:09:38 UTC 2016
On 17 December 2016 at 05:09, Jonathan Gray <jsg at jsg.id.au> 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 block of minor types at fixed offsets.
>
> v2: remove min < base test as requested by Emil
>
Thanks Jonathan, I've pushed the lot to master !
-Emil
More information about the dri-devel
mailing list