[igt-dev] [PATCH i-g-t v5 0/2] Add device selection methods

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Fri Aug 23 07:03:49 UTC 2019


v2: In this series I've removed module management and hand device classes
    filtering (udev filters are now used in this case). Lsgpu was
    simplified (some options were unreadable and they were removed).
    Still migration to gtkdoc is necessary which will be made in v3.

v3: Change device scanning to drm subsystem with getting parent
    according to Daniel Vetter suggestion. Splitting to two patches
    and adding gtk-doc documentation.

v4: Extending and fixing documentation. Adding reviewers forgotten
    in v3.

v5: Adding .igtrc support. Fixing code according to review comments.
    Lsgpu device selection order now uses same search strategy
    like IGT core. It uses --device / IGT_DEVICE and .igtrc 
    order accordingly to verify tests device selection works as expected.

Zbigniew Kempczyński (2):
  Introduce device selection API
  Add device selection for IGT

 docs/chamelium.txt                            |    3 +
 .../igt-gpu-tools/igt-gpu-tools-docs.xml      |    1 +
 lib/Makefile.sources                          |    2 +
 lib/drmtest.c                                 |  188 ++-
 lib/drmtest.h                                 |    9 +
 lib/igt_core.c                                |   34 +
 lib/igt_device_scan.c                         | 1380 +++++++++++++++++
 lib/igt_device_scan.h                         |   74 +
 lib/meson.build                               |    1 +
 tools/Makefile.sources                        |    1 +
 tools/lsgpu.c                                 |  261 ++++
 tools/meson.build                             |    1 +
 12 files changed, 1953 insertions(+), 2 deletions(-)
 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