All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v15 0/5] Add per-device engine activity stats in GPUTOP
@ 2025-06-26  9:16 Soham Purkait
  2025-06-26  9:16 ` [PATCH v15 1/5] lib/igt_device_scan: Add support for the device filter Soham Purkait
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Soham Purkait @ 2025-06-26  9:16 UTC (permalink / raw)
  To: igt-dev, riana.tauro, vinay.belgaumkar, kamil.konieczny,
	krzysztof.karas, zbigniew.kempczynski
  Cc: anshuman.gupta, lucas.demarchi, rodrigo.vivi, soham.purkait,
	ashutosh.dixit, umesh.nerlige.ramappa

 Add per-device engine activity stat support in GPUTOP.
This leverages the PMU interface to display the activity of
engine instances for the array of requested or all devices.

 This patch refactors GPUTOP to be vendor-agnostic, laying
the groundwork for future support of multiple GPU vendors.

 Currently, GPUTOP supports GPUs with Xe driver only
and can monitor the engine activities of multiple GPU
devices simultaneously through abstracting vendor 
specific code into a common interface and implementing 
vendor-neutral APIs for monitoring.

DRIVER: xe || BDF: 0000:03:00.0
   GT:0 Render/3D/0| 99.1% ███████████████████████████████████████████████████|
     GT:0 Blitter/0| 59.2% ██████████████████████████████                     |
     GT:0 Compute/0| 49.2% █████████████████████████                          |
       GT:1 Video/0| 89.3% ██████████████████████████████████████████████     |
       GT:1 Video/1|  0.0%                                                    |
GT:1 VideoEnhance/0| 98.5% ██████████████████████████████████████████████████ |
GT:1 VideoEnhance/1|  0.0%                                                    |

Soham Purkait (5):
  lib/igt_device_scan: Add support for the device filter
  lib/igt_device_scan: Enable finding all matched IGT devices
  tools/gputop/utils: Add gputop utility functions common to all drivers
  tools/gputop/xe_gputop: Add gputop support for xe specific devices
  tools/gputop/gputop: Enable support for multiple GPUs and instances

 lib/igt_device_scan.c       | 128 +++++++++++++
 lib/igt_device_scan.h       |   1 +
 tools/{ => gputop}/gputop.c | 237 +++++++++++++++++++----
 tools/gputop/meson.build    |   6 +
 tools/gputop/utils.c        |  51 +++++
 tools/gputop/utils.h        |  63 +++++++
 tools/gputop/xe_gputop.c    | 361 ++++++++++++++++++++++++++++++++++++
 tools/gputop/xe_gputop.h    |  59 ++++++
 tools/meson.build           |   6 +-
 9 files changed, 868 insertions(+), 44 deletions(-)
 rename tools/{ => gputop}/gputop.c (64%)
 create mode 100644 tools/gputop/meson.build
 create mode 100644 tools/gputop/utils.c
 create mode 100644 tools/gputop/utils.h
 create mode 100644 tools/gputop/xe_gputop.c
 create mode 100644 tools/gputop/xe_gputop.h

-- 
2.34.1


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH v15 0/5] Add per-device engine activity stats in GPUTOP
@ 2025-06-25  7:28 Soham Purkait
  2025-06-25  7:28 ` [PATCH v15 4/5] tools/gputop/xe_gputop: Add gputop support for xe specific devices Soham Purkait
  0 siblings, 1 reply; 14+ messages in thread
From: Soham Purkait @ 2025-06-25  7:28 UTC (permalink / raw)
  To: igt-dev, riana.tauro, vinay.belgaumkar, kamil.konieczny,
	krzysztof.karas, zbigniew.kempczynski
  Cc: anshuman.gupta, lucas.demarchi, rodrigo.vivi, soham.purkait,
	ashutosh.dixit, umesh.nerlige.ramappa

Add per-device engine activity stat support in GPUTOP.
This leverages the PMU interface to display the activity of
engine instances for the array of requested or all devices.

    This patch refactors GPUTOP to be vendor-agnostic, laying
the groundwork for future support of multiple GPU vendors.

    Currently, GPUTOP supports GPUs with Xe driver only
and can monitor the engine activities of multiple GPU
devices simultaneously through abstracting vendor 
specific code into a common interface and implementing 
vendor-neutral APIs for monitoring.

DRIVER: xe || BDF: 0000:03:00.0
   GT:0 Render/3D/0| 99.1% ███████████████████████████████████████████████████|
     GT:0 Blitter/0| 59.2% ██████████████████████████████                     |
     GT:0 Compute/0| 49.2% █████████████████████████                          |
       GT:1 Video/0| 89.3% ██████████████████████████████████████████████     |
       GT:1 Video/1|  0.0%                                                    |
GT:1 VideoEnhance/0| 98.5% ██████████████████████████████████████████████████ |
GT:1 VideoEnhance/1|  0.0%                                                    |

Soham Purkait (5):
  lib/igt_device_scan: Add support for the device filter
  lib/igt_device_scan: Enable finding all matched IGT devices
  tools/gputop/utils: Add gputop utility functions common to all drivers
  tools/gputop/xe_gputop: Add gputop support for xe specific devices
  tools/gputop/gputop: Enable support for multiple GPUs and instances

 lib/igt_device_scan.c       | 128 +++++++++++++
 lib/igt_device_scan.h       |   1 +
 tools/{ => gputop}/gputop.c | 237 +++++++++++++++++++----
 tools/gputop/meson.build    |   6 +
 tools/gputop/utils.c        |  51 +++++
 tools/gputop/utils.h        |  63 +++++++
 tools/gputop/xe_gputop.c    | 361 ++++++++++++++++++++++++++++++++++++
 tools/gputop/xe_gputop.h    |  59 ++++++
 tools/meson.build           |   6 +-
 9 files changed, 868 insertions(+), 44 deletions(-)
 rename tools/{ => gputop}/gputop.c (64%)
 create mode 100644 tools/gputop/meson.build
 create mode 100644 tools/gputop/utils.c
 create mode 100644 tools/gputop/utils.h
 create mode 100644 tools/gputop/xe_gputop.c
 create mode 100644 tools/gputop/xe_gputop.h

-- 
2.34.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-06-30 15:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-26  9:16 [PATCH v15 0/5] Add per-device engine activity stats in GPUTOP Soham Purkait
2025-06-26  9:16 ` [PATCH v15 1/5] lib/igt_device_scan: Add support for the device filter Soham Purkait
2025-06-26  9:16 ` [PATCH v15 2/5] lib/igt_device_scan: Enable finding all matched IGT devices Soham Purkait
2025-06-26  9:16 ` [PATCH v15 3/5] tools/gputop/utils: Add gputop utility functions common to all drivers Soham Purkait
2025-06-26  9:32   ` Riana Tauro
2025-06-26  9:16 ` [PATCH v15 4/5] tools/gputop/xe_gputop: Add gputop support for xe specific devices Soham Purkait
2025-06-26  9:30   ` Riana Tauro
2025-06-26  9:16 ` [PATCH v15 5/5] tools/gputop/gputop: Enable support for multiple GPUs and instances Soham Purkait
2025-06-27  8:17   ` Riana Tauro
2025-06-26 15:14 ` ✓ i915.CI.BAT: success for Add per-device engine activity stats in GPUTOP (rev12) Patchwork
2025-06-26 15:42 ` ✓ Xe.CI.BAT: " Patchwork
2025-06-27  4:02 ` ✗ i915.CI.Full: failure " Patchwork
2025-06-30 15:55 ` ✓ Xe.CI.Full: success " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2025-06-25  7:28 [PATCH v15 0/5] Add per-device engine activity stats in GPUTOP Soham Purkait
2025-06-25  7:28 ` [PATCH v15 4/5] tools/gputop/xe_gputop: Add gputop support for xe specific devices Soham Purkait

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.