Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH <i-g-t> v4 0/4] Add single engine busyness stats in GPUTOP
@ 2025-03-13  6:21 Soham Purkait
  2025-03-13  6:21 ` [PATCH <i-g-t> v4 1/4] lib/igt_device_scan: Enable finding all IGT devices for a specific driver Soham Purkait
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Soham Purkait @ 2025-03-13  6:21 UTC (permalink / raw)
  To: igt-dev, riana.tauro, vinay.belgaumkar
  Cc: anshuman.gupta, lucas.demarchi, rodrigo.vivi, soham.purkait,
	jonathan.ming.jun.lui

      Add single engine busyness support in GPUTOP.
This uses the PMU interface to display the busyness
of each engine instances. 
    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 busyness 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:00:02.0
ENGINES         BUSY
Render/3D/0   | 96.5% ███████████████████████████████████████ |
Blitter/0     | 91.6% █████████████████████████████████████   |
Video/0       | 56.2% ███████████████████████████             |
VideoEnhance/0| 97.7% ████████████████████████████████████████|
Compute/0     | 48.5% ███████████████████████                 |

Soham Purkait (4):
  lib/igt_device_scan: Enable finding all IGT devices for a specific
		       driver
  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       |  58 ++++++
 lib/igt_device_scan.h       |   3 +
 tools/{ => gputop}/gputop.c | 211 ++++++++++++++++----
 tools/gputop/meson.build    |   6 +
 tools/gputop/utils.c        |  51 +++++
 tools/gputop/utils.h        |  55 ++++++
 tools/gputop/xe_gputop.c    | 372 ++++++++++++++++++++++++++++++++++++
 tools/gputop/xe_gputop.h    |  73 +++++++
 tools/meson.build           |   6 +-
 9 files changed, 789 insertions(+), 46 deletions(-)
 rename tools/{ => gputop}/gputop.c (69%)
 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-03-21  6:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-13  6:21 [PATCH <i-g-t> v4 0/4] Add single engine busyness stats in GPUTOP Soham Purkait
2025-03-13  6:21 ` [PATCH <i-g-t> v4 1/4] lib/igt_device_scan: Enable finding all IGT devices for a specific driver Soham Purkait
2025-03-13  8:13   ` Krzysztof Karas
2025-03-13 11:51   ` Zbigniew Kempczyński
2025-03-13  6:21 ` [PATCH <i-g-t> v4 2/4] tools/gputop/utils: Add gputop utility functions common to all drivers Soham Purkait
2025-03-13  6:21 ` [PATCH <i-g-t> v4 3/4] tools/gputop/xe_gputop: Add gputop support for xe specific devices Soham Purkait
2025-03-14  4:57   ` Riana Tauro
2025-03-21  3:26     ` Purkait, Soham
2025-03-21  6:20       ` Riana Tauro
2025-03-13  6:21 ` [PATCH <i-g-t> v4 4/4] tools/gputop/gputop: Enable support for multiple GPUs and instances Soham Purkait
2025-03-13  7:58 ` ✓ Xe.CI.BAT: success for Add single engine busyness stats in GPUTOP (rev5) Patchwork
2025-03-13  8:16 ` ✓ i915.CI.BAT: " Patchwork
2025-03-13 10:28 ` ✗ i915.CI.Full: failure " Patchwork
2025-03-14 13:14 ` ✗ Xe.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox