OSDN Git Service

libdrm: drmGetMinorNameForFD: Add FreeBSD variant
authorEmmanuel Vadot <manu@FreeBSD.Org>
Tue, 21 Jan 2020 16:53:07 +0000 (17:53 +0100)
committerEmmanuel Vadot <manu@FreeBSD.org>
Tue, 21 Apr 2020 17:26:54 +0000 (19:26 +0200)
commit57c50cfc45f8c4f95bffff88ec7bcc056d3b23be
tree101b340178750b5eb79d520b4cd7489873d55e9c
parent6818a50b1215081d6a7b7b710f504a6b182320c8
libdrm: drmGetMinorNameForFD: Add FreeBSD variant

Use the FreeBSD variant function to obtain the minor name and the
device node.
Return the correct path based on where the node is (drm/ versus dri/).

Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
xf86drm.c