public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Kamil Konieczny <kamil.konieczny@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Petri Latvala <petri.latvala@intel.com>
Subject: [igt-dev] [PATCH i-g-t v4 0/2] lib/igt_device_scan: add filer card=all
Date: Thu, 10 Nov 2022 13:38:02 +0100	[thread overview]
Message-ID: <20221110123804.18486-1-kamil.konieczny@linux.intel.com> (raw)

Allow to select all (up to 64) discrete cards with the help of
card=all or card=*, for example:

./gem_basic --device=pci:vendor=intel,device=discrete,card=all

v2: correct misspelled word at patch 1/2 (Zbigniew), increase
  max number of filters from 16 to 64, stop filter splat at
  patch 2/2 (Petri)
v3: correct doc (patch 2/2)
v4: correct filter matching, reorganize loop (patch 2/2),
  tested on machine with two discrete cards

Cc: Petri Latvala <petri.latvala@intel.com>
Cc: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>

Kamil Konieczny (2):
  lib/igt_device_scan: refactor filter adding
  lib/igt_device_scan: add card=all filter selector

 lib/igt_device_scan.c | 46 +++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 44 insertions(+), 2 deletions(-)

-- 
2.34.1

             reply	other threads:[~2022-11-10 12:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-10 12:38 Kamil Konieczny [this message]
2022-11-10 12:38 ` [igt-dev] [PATCH i-g-t v4 1/2] lib/igt_device_scan: refactor filter adding Kamil Konieczny
2022-11-10 12:38 ` [igt-dev] [PATCH i-g-t v4 2/2] lib/igt_device_scan: add card=all filter selector Kamil Konieczny
2022-11-10 15:52 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/igt_device_scan: add filer card=all (rev4) Patchwork
2022-11-10 17:05 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-11-10 19:36   ` Kamil Konieczny
2022-11-10 22:33 ` [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=20221110123804.18486-1-kamil.konieczny@linux.intel.com \
    --to=kamil.konieczny@linux.intel.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox