• Emil Velikov's avatar
    gbm: use libdrm instead of libudev · 6bf58d4b
    Emil Velikov authored
    Through Mesa we use libdrm's drmDevice2 API to gather DRM device
    details. Additionally the API is simpler and the code shorter.
    Execution time is nearly identical and with a pending libdrm MR - it
    will go down in half.
    While here, remove the link-time dependency - using dlopen/dlsym ftw.
    Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.velikov@collabora.com>