diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2020-11-16 17:26:51 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2020-11-17 09:30:03 +0000 |
commit | 402e43dacb86f19a5c5ec7cd3dc2fff3b758e966 (patch) | |
tree | e9f0d0966a3a24dece4f96b29a52c379c49fb5c3 /tools/lsgpu.c | |
parent | 05a619fc82bff89fd06b2ade732e2883b5fd22ef (diff) |
lib/igt_device_scan: Remember PCI card index after scanning
After devices are sorted post scanning, assing a card index to each so it
can be easily accessed if PCI filter for a card needs to be printed out.
v2:
* Preserve existing pci:..card=N behaviour. (Zbigniew)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Diffstat (limited to 'tools/lsgpu.c')
0 files changed, 0 insertions, 0 deletions