libdrm: drmGetMinorType: Add FreeBSD version

Graphics / Mesa 3D Graphics Library / libdrm - Emmanuel Vadot [FreeBSD.Org] - 21 April 2020 17:25 UTC

Resolve the minor type based on the device node path. The minor type is either in /dev/drm/X where X is the type or in a Linux-compatible device node in /dev/dri/ This means we need the major number on FreeBSD so add it to the function arguments.

c55a1e56 libdrm: drmGetMinorType: Add FreeBSD version
xf86drm.c | 32 ++++++++++++++++++++++++++------
1 file changed, 26 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share