summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorZbigniew Kempczyński <zbigniew.kempczynski@intel.com>2019-10-24 14:05:15 +0300
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-12-04 13:26:53 +0200
commit7b7189e9f56c17cc810dd63ce767d4715288b05a (patch)
tree03cc90d97705940f8b0433e5327f4d2eceba7506 /docs
parent8616126e809bbd94df7581599e4ee030742c3781 (diff)
Add device selection in IGT
New IGT command line argument --device, IGT_DEVICE enviroment and .igtrc Common::Device were added to allow selecting device using device selection API. See generated docs for device selection and lsgpu for more details on filters. NOTE: IGT_FORCE_DRIVER still works if no filter is selected. We may want to deprecate it later. NOTE2: This does not work with tests that open 2 or more devices (e.g. kms_prime). The core is capable of doing multiple filtering passes but we need to figure out how we want *open*() functions to expose this capability. v2 (Arek): * remove functions acting on igt_device_card * use only a single filter v3 (Arek): * typos, misspellings (Petri) * add notes on IGT_FORCE_DRIVER and opening 2 or more devices Cc: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/igt-gpu-tools/igt_test_programs.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/reference/igt-gpu-tools/igt_test_programs.xml b/docs/reference/igt-gpu-tools/igt_test_programs.xml
index 3c1e18ee..92bc33ba 100644
--- a/docs/reference/igt-gpu-tools/igt_test_programs.xml
+++ b/docs/reference/igt-gpu-tools/igt_test_programs.xml
@@ -44,6 +44,13 @@
</varlistentry>
<varlistentry>
+ <term><option>--device filter</option></term>
+ <listitem><para>
+ select device using filter (see "Device selection" for details)
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--help-description</option></term>
<listitem><para>
print a short description of the test and exit