From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Daniel Vetter <daniel@ffwll.ch>
Subject: [igt-dev] [EARLY RFC 0/1] New device selection
Date: Mon, 1 Jul 2019 15:03:25 +0200 [thread overview]
Message-ID: <20190701130326.8887-1-zbigniew.kempczynski@intel.com> (raw)
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
next reply other threads:[~2019-07-01 13:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-01 13:03 Zbigniew Kempczyński [this message]
2019-07-01 13:03 ` [igt-dev] [EARLY RFC 1/1] Introduce new method of device selection 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190701130326.8887-1-zbigniew.kempczynski@intel.com \
--to=zbigniew.kempczynski@intel.com \
--cc=daniel@ffwll.ch \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox