From: Thierry Reding <treding@xxxxxxxxxx> This series enables support for USB, platform and host1x busses in the drmDevice infrastructure. The goal is to make use of these in Mesa for PRIME support (via the DRI_PRIME environment variable) for devices on one of these busses. Changes in v3: - add cleanup patch to reuse sysfs_uevent_get() in existing code - guard Linux-specific sysfs parsing code with #ifdef __linux__ Changes in v2: - add USB, platform and host1x bus support to tests/drmdevice - make sure not to overflow path names and device fullnames - read compatible strings into platform/host1x device info I've tested both platform and host1x bus support on Tegra and also verified that there aren't any leaks by running tests/drmdevice through valgrind. Since I don't have any UDL devices myself I'm adding the X.Org development mailing list on Cc, as suggested by Emil Velikov, in the hopes that someone with access to that hardware will be generous enough to give these a run. Thierry Thierry Reding (5): xf86drm: Factor out drmDeviceAlloc() xf86drm: Add USB support xf86drm: Add platform and host1x bus support tests/drmdevice: Add USB, platform and host1x support xf86drm: Reuse sysfs_uevent_get() tests/drmdevice.c | 37 ++++ xf86drm.c | 619 +++++++++++++++++++++++++++++++++++++++++++++++------- xf86drm.h | 41 +++- 3 files changed, 621 insertions(+), 76 deletions(-) -- 2.11.0 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel