public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [EARLY RFC 0/1] New device selection
@ 2019-07-01 13:03 Zbigniew Kempczyński
  2019-07-01 13:03 ` [igt-dev] [EARLY RFC 1/1] Introduce new method of " Zbigniew Kempczyński
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Zbigniew Kempczyński @ 2019-07-01 13:03 UTC (permalink / raw)
  To: igt-dev; +Cc: Daniel Vetter

Additional method device selection code proposal. Instead of replacing
legacy method of selection it extends it. When --device filter or 
IGT_DEVICE environment new method is selected instead of legacy.

Currently only PCI devices scanning is performed. Tool 'lsgpu' uses
code to play with scanned devices properties and attributes (taken
from udev).

I'm looking forward your comments.

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

 lib/Makefile.sources   |   2 +
 lib/drmtest.c          |  53 ++-
 lib/drmtest.h          |   1 +
 lib/igt_core.c         |  12 +
 lib/igt_core.h         |   1 +
 lib/igt_device_scan.c  | 936 +++++++++++++++++++++++++++++++++++++++++
 lib/igt_device_scan.h  |  64 +++
 lib/meson.build        |   1 +
 tools/Makefile.sources |   1 +
 tools/lsgpu.c          | 222 ++++++++++
 tools/meson.build      |   1 +
 11 files changed, 1292 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

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-07-03 10:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-01 13:03 [igt-dev] [EARLY RFC 0/1] New device selection Zbigniew Kempczyński
2019-07-01 13:03 ` [igt-dev] [EARLY RFC 1/1] Introduce new method of " Zbigniew Kempczyński
2019-07-01 20:57   ` Vasilev, Oleg
2019-07-02  7:38     ` Kempczynski, Zbigniew
2019-07-03  8:45       ` Vasilev, Oleg
2019-07-03 10:10         ` Kempczynski, Zbigniew
2019-07-03  7:56   ` Arkadiusz Hiler
2019-07-01 14:37 ` [igt-dev] ✗ GitLab.Pipeline: failure for New " Patchwork
2019-07-02  6:49   ` Arkadiusz Hiler
2019-07-01 14:37 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox