Skip to content

libdrm: drmGetDeviceNameFromFd: Fix FreeBSD variant

Emmanuel Vadot requested to merge manu/drm:fbsd_fix into master

Fix the FreeBSD variant by using a regex that get the card/render number whenether it's a node in /dev/drm or /dev/dri. We then return the full /dev/dri/ version.

Fix: #41 (closed) Fixes: 6818a50b Signed-off-by: Emmanuel Vadot manu@FreeBSD.org

Edited by Emmanuel Vadot

Merge request reports

Loading