libdrm: drmGetMinorType: Add FreeBSD version
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. Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Loading
Please register or sign in to comment