RFC User friendly lsgpu/intel_gpu_top device listing
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | intel_gpu_top: User friendly device listinglib/ lib/ tools/ | +100 | 0 replies | |
| 2/5 | lsgpu: User friendly device listingtools/ | +8 | 0 replies | |
| 3/5 | lib/igt_device_scan: Remember PCI card index after scanninglib/ | +36 | 4 replies | |
| 4/5 | lsgpu: Add filter type print-out selectionlib/ lib/ tools/ +1 more | +106 | 0 replies | |
| 5/5 | intel_gpu_top: Default GPU list to PCI modetools/ | +2 | 0 replies |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Zbigniew Kempczyński |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [igt-dev] [RFC i-g-t 0/5] User friendly lsgpu/intel_gpu_top device listing
From: Tvrtko Ursulin <[email protected]>
Please see individual path commit messages for details, but essentially I implemented this:
$ sudo tools/lsgpu card1 8086:4905 drm:/dev/dri/card1 └─renderD129 drm:/dev/dri/renderD129 card0 8086:3E98 drm:/dev/dri/card0 └─renderD128 drm:/dev/dri/renderD128
$ sudo tools/lsgpu --pci card1 8086:4905 pci:vendor=8086,device=4905,card=0 └─renderD129 card0 8086:3E98 pci:vendor=8086,device=3E98,card=0 └─renderD128
$ sudo tools/lsgpu --sysfs card1 8086:4905 sys:/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0 └─renderD129 sys:/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0/drm/renderD129 card0 8086:3E98 sys:/sys/devices/pci0000:00/0000:00:02.0 └─renderD128 sys:/sys/devices/pci0000:00/0000:00:02.0/drm/renderD128
I need to find a machine with two GPUs of the same device id to finish testing this hence still RFC.
Tvrtko Ursulin (5):
intel_gpu_top: User friendly device listing
lsgpu: User friendly device listing lib/igt_device_scan: Remember PCI card index after scanning
lsgpu: Add filter type print-out selection
intel_gpu_top: Default GPU list to PCI mode
lib/igt_device_scan.c | 205 +++++++++++++++++++++++++++++++++++++----- lib/igt_device_scan.h | 16 +++- tools/intel_gpu_top.c | 8 +- tools/lsgpu.c | 38 ++++++-- 4 files changed, 233 insertions(+), 34 deletions(-)
Signature · 6 lines
2.25.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev