On 13 January 2017 at 12:11, Mark Kettenis <mark.kettenis@xxxxxxxxx> wrote: >> From: Thierry Reding <thierry.reding@xxxxxxxxx> >> Date: Thu, 12 Jan 2017 23:04:27 +0100 >> >> Allow DRM/KMS devices hosted on USB to be detected by the drmDevice >> infrastructure. >> >> v2: >> - make sysfs_uevent_get() more flexible using a format string >> >> Signed-off-by: Thierry Reding <thierry.reding@xxxxxxxxx> > > All this sysfs parsing stuff is highly Linux-specific and should > probably be #ifdef __linux__. Returning -EINVAL on non-Linux > platforms for usb and host1x should be fine. > Nicely spotted. Thierry with the above the series is Reviewed-by: Emil Velikov <emil.velikov@xxxxxxxxxxxxx> Can you land these in the next few days - I would love to have a libdrm release and use drmGetDevice[s]2 in mesa. Thanks Emil _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel