[igt-dev] [RFC 0/3] User friendly lsgpu default output

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Mon Nov 9 10:48:08 UTC 2020


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

As per individual changelogs end result is:

    $ lsgpu
    card0                   8086:193B    drm:/dev/dri/card0
    └─renderD128                         drm:/dev/dri/renderD128

    $ lsgpu --sysfs
    card0                   8086:193B    sys:/sys/devices/pci0000:00/0000:00:02.0/drm/card0
    └─renderD128                         sys:/sys/devices/pci0000:00/0000:00:02.0/drm/renderD128

    $ lsgpu --pci
    card0                   8086:193B    pci:/sys/devices/pci0000:00/0000:00:02.0
    └─renderD128

Tvrtko Ursulin (3):
  intel_gpu_top: User friendly device listing
  lsgpu: User friendly device listing
  lsgpu: Add filter type print-out selection

 lib/igt_device_scan.c | 154 +++++++++++++++++++++++++++++++++++++-----
 lib/igt_device_scan.h |  16 ++++-
 tools/intel_gpu_top.c |   7 +-
 tools/lsgpu.c         |  38 +++++++++--
 4 files changed, 188 insertions(+), 27 deletions(-)

-- 
2.25.1



More information about the igt-dev mailing list