[Intel-gfx] [PATCH i-g-t 0/3] Per client GPU utilisation

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Fri Apr 1 14:11:52 UTC 2022


From: Tvrtko Ursulin <tvrtko.ursulin at 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

-- 
2.32.0



More information about the Intel-gfx mailing list