mbox series

[i-g-t,0/3] Per client GPU utilisation

Message ID 20220401141155.3122817-1-tvrtko.ursulin@linux.intel.com (mailing list archive)
Headers show
Series Per client GPU utilisation | expand

Message

Tvrtko Ursulin April 1, 2022, 2:11 p.m. UTC
From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

Only first three patches for review purposes (first stage) - adding the test and
intel_gpu_top support.

Tvrtko Ursulin (3):
  lib: Helper library for parsing i915 fdinfo output
  tests/i915/drm_fdinfo: Basic and functional tests for GPU busyness
    exported via fdinfo
  intel-gpu-top: Add support for per client stats

 lib/igt_drm_fdinfo.c    | 188 ++++++++++
 lib/igt_drm_fdinfo.h    |  69 ++++
 lib/meson.build         |   7 +
 man/intel_gpu_top.rst   |   4 +
 tests/i915/drm_fdinfo.c | 557 +++++++++++++++++++++++++++
 tests/meson.build       |   8 +
 tools/intel_gpu_top.c   | 806 +++++++++++++++++++++++++++++++++++++++-
 tools/meson.build       |   2 +-
 8 files changed, 1638 insertions(+), 3 deletions(-)
 create mode 100644 lib/igt_drm_fdinfo.c
 create mode 100644 lib/igt_drm_fdinfo.h
 create mode 100644 tests/i915/drm_fdinfo.c