All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Daniel Vetter <daniel@ffwll.ch>, Petri Latvala <petri.latvala@intel.com>
Subject: [igt-dev] [PATCH i-g-t v6 0/3] Add device selection methods
Date: Wed,  4 Sep 2019 12:36:58 +0200	[thread overview]
Message-ID: <20190904103701.20490-1-zbigniew.kempczynski@intel.com> (raw)

2: 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.

v6: Change sevice selection failure paths to be more verbose.
    Filter syntax is now verified before inserting onto filter list.
    Lsgpu tool was extracted as a standalone patch.
    Disputed functions with *_nth_filter() were removed from 
    drmtest.c code. Replacement methods will be provided when some
    tests will require them (at the moment we don't have representative
    test code to rewrite). 

Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Petri Latvala <petri.latvala@intel.com>

Zbigniew Kempczyński (3):
  Introduce device selection API
  Add device selection in IGT
  Introduce device selection lsgpu tool

 docs/chamelium.txt                            |    3 +
 .../igt-gpu-tools/igt-gpu-tools-docs.xml      |    1 +
 .../igt-gpu-tools/igt_test_programs.xml       |    7 +
 lib/Makefile.sources                          |    2 +
 lib/drmtest.c                                 |  137 +-
 lib/drmtest.h                                 |    7 +
 lib/igt_core.c                                |   49 +
 lib/igt_device_scan.c                         | 1394 +++++++++++++++++
 lib/igt_device_scan.h                         |   74 +
 lib/meson.build                               |    1 +
 tools/Makefile.sources                        |    1 +
 tools/lsgpu.c                                 |  299 ++++
 tools/meson.build                             |    1 +
 13 files changed, 1974 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.23.0

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

             reply	other threads:[~2019-09-04 10:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-04 10:36 Zbigniew Kempczyński [this message]
2019-09-04 10:36 ` [igt-dev] [PATCH i-g-t v6 1/3] Introduce device selection API Zbigniew Kempczyński
2019-09-04 10:37 ` [igt-dev] [PATCH i-g-t v6 2/3] Add device selection in IGT Zbigniew Kempczyński
2019-09-10 12:18   ` Arkadiusz Hiler
2019-09-04 10:37 ` [igt-dev] [PATCH i-g-t v6 3/3] Introduce device selection lsgpu tool Zbigniew Kempczyński
2019-09-10 11:48   ` Arkadiusz Hiler
2019-09-04 11:14 ` [igt-dev] ✓ Fi.CI.BAT: success for Add device selection methods (rev6) Patchwork
2019-09-04 13:12 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2019-09-09  8:23 ` [igt-dev] ✓ Fi.CI.IGT: 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=20190904103701.20490-1-zbigniew.kempczynski@intel.com \
    --to=zbigniew.kempczynski@intel.com \
    --cc=daniel@ffwll.ch \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=petri.latvala@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.