Skip to content
Commit f189011b authored by Jonathan Gray's avatar Jonathan Gray Committed by Emil Velikov
Browse files

xf86drm: implement drmGetMinorNameForFD for non-sysfs



Implement drmGetMinorNameForFD for systems without sysfs by
adapting drm_get_device_name_for_fd() from the Mesa loader.

v2: use type parameter to select dev name instead of always
    using DRM_DEV_NAME

Signed-off-by: default avatarJonathan Gray <jsg@jsg.id.au>
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
parent 5c1c91b3
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