[PATCH libdrm v2 0/4] xf86drm: Add USB, platform and host1x bus support

Thierry Reding thierry.reding at gmail.com
Thu Jan 12 22:04:25 UTC 2017


From: Thierry Reding <treding at nvidia.com>

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 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 (4):
  xf86drm: Factor out drmDeviceAlloc()
  xf86drm: Add USB support
  xf86drm: Add platform and host1x bus support
  tests/drmdevice: Add USB, platform and host1x support

 tests/drmdevice.c |  37 ++++
 xf86drm.c         | 521 +++++++++++++++++++++++++++++++++++++++++++++++++++---
 xf86drm.h         |  41 ++++-
 3 files changed, 571 insertions(+), 28 deletions(-)

-- 
2.11.0



More information about the xorg-devel mailing list