Skip to content
Commit c55a1e56 authored by Emmanuel Vadot's avatar Emmanuel Vadot Committed by Emmanuel Vadot
Browse files

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: default avatarEmmanuel Vadot <manu@FreeBSD.org>
Reviewed-by: default avatarEric Engestrom <eric@engestrom.ch>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
parent 4fbcc9a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment