[Intel-gfx] [CI 0/8] Per client GPU utilisation
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Fri Apr 1 14:21:57 UTC 2022
From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Test-with: 20220401141155.3122817-1-tvrtko.ursulin at linux.intel.com
Tvrtko Ursulin (8):
drm/i915: Explicitly track DRM clients
drm/i915: Make GEM contexts track DRM clients
drm/i915: Track runtime spent in closed and unreachable GEM contexts
drm/i915: Track all user contexts per client
drm/i915: Track context current active time
drm: Document fdinfo format specification
drm/i915: Count engine instances per uabi class
drm/i915: Expose client engine utilisation via fdinfo
Documentation/gpu/drm-usage-stats.rst | 112 +++++++++++++
Documentation/gpu/i915.rst | 28 ++++
Documentation/gpu/index.rst | 1 +
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/gem/i915_gem_context.c | 43 ++++-
.../gpu/drm/i915/gem/i915_gem_context_types.h | 6 +
drivers/gpu/drm/i915/gt/intel_context.c | 27 ++-
drivers/gpu/drm/i915/gt/intel_context.h | 15 +-
drivers/gpu/drm/i915/gt/intel_context_types.h | 24 ++-
drivers/gpu/drm/i915/gt/intel_engine_user.c | 11 +-
.../drm/i915/gt/intel_execlists_submission.c | 23 ++-
.../gpu/drm/i915/gt/intel_gt_clock_utils.c | 4 +
drivers/gpu/drm/i915/gt/intel_lrc.c | 27 +--
drivers/gpu/drm/i915/gt/intel_lrc.h | 27 ++-
drivers/gpu/drm/i915/gt/selftest_lrc.c | 10 +-
drivers/gpu/drm/i915/i915_driver.c | 9 +
drivers/gpu/drm/i915/i915_drm_client.c | 154 ++++++++++++++++++
drivers/gpu/drm/i915/i915_drm_client.h | 68 ++++++++
drivers/gpu/drm/i915/i915_drv.h | 4 +
drivers/gpu/drm/i915/i915_file_private.h | 3 +
drivers/gpu/drm/i915/i915_gem.c | 21 ++-
drivers/gpu/drm/i915/i915_gpu_error.c | 9 +-
drivers/gpu/drm/i915/i915_gpu_error.h | 2 +-
23 files changed, 569 insertions(+), 60 deletions(-)
create mode 100644 Documentation/gpu/drm-usage-stats.rst
create mode 100644 drivers/gpu/drm/i915/i915_drm_client.c
create mode 100644 drivers/gpu/drm/i915/i915_drm_client.h
--
2.32.0
More information about the Intel-gfx
mailing list