Add a helper function that returns the type of device node from an fd.
1f73578 Add new drmGetNodeTypeFromFd function
xf86drm.c | 39 +++++++++++++++++++++++++++++++++++++++
xf86drm.h | 1 +
2 files changed, 40 insertions(+)
Upstream: cgit.freedesktop.org