[igt-dev] [PATCH i-g-t 0/3] Tests and intel_gpu_top with fdinfo support

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Thu Jan 6 16:49:12 UTC 2022


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

Mostly sending so I can use Test-with: but review is always welcome.

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    | 161 ++++++++
 lib/igt_drm_fdinfo.h    |  47 +++
 lib/meson.build         |   7 +
 man/intel_gpu_top.rst   |   4 +
 tests/i915/drm_fdinfo.c | 555 +++++++++++++++++++++++++++
 tests/meson.build       |   8 +
 tools/intel_gpu_top.c   | 803 +++++++++++++++++++++++++++++++++++++++-
 tools/meson.build       |   2 +-
 8 files changed, 1584 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 igt-dev mailing list