[igt-dev] [PATCH i-g-t v1 0/1] Add device selection methods

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Thu Jul 11 10:30:56 UTC 2019


After having a talk with Arek, Oleg and Michał regarding device
selection RFC this patch extends current code to:

1. PCI + platform devices discovery
2. Filters like pci, drm, vc4, exynos, vgem and vkms
3. lsgpu tool for discovering GPU devices
4. Device selection documentation

Zbigniew Kempczyński (1):
  Introduce new method of device selection

 docs/multi-device-selection.txt |  115 +++
 lib/Makefile.sources            |    2 +
 lib/drmtest.c                   |  151 +++-
 lib/drmtest.h                   |    9 +
 lib/igt_core.c                  |   13 +
 lib/igt_device_scan.c           | 1425 +++++++++++++++++++++++++++++++
 lib/igt_device_scan.h           |   72 ++
 lib/meson.build                 |    1 +
 tools/Makefile.sources          |    1 +
 tools/lsgpu.c                   |  285 +++++++
 tools/meson.build               |    1 +
 11 files changed, 2073 insertions(+), 2 deletions(-)
 create mode 100644 docs/multi-device-selection.txt
 create mode 100644 lib/igt_device_scan.c
 create mode 100644 lib/igt_device_scan.h
 create mode 100644 tools/lsgpu.c

-- 
2.21.0



More information about the igt-dev mailing list