Skip to content

intel-gpu-top improvements

Robert Bragg intel-gfx 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9intel_gpu_top: don't fclose NULL outputtools/intel_gpu_top.c+2 -10 replies
2/9intel_gpu_top: aim for 2000 samples per frametools/intel_gpu_top.c+2 -10 replies
3/9intel_gpu_top: ignore out of range ring pointerstools/intel_gpu_top.c+9 -00 replies
4/9intel_gpu_top: read max/current gt freq via sysfstools/intel_gpu_top.c+31 -00 replies
5/9intel_reg: rename RING_LEN RING_CTLlib/intel_reg.h tools/intel_gpu_top.c+3 -60 replies
6/9intel_reg: add RING_CCID current context ID reglib/intel_reg.h+3 -00 replies
7/9instdone: Add human readable names for HSWlib/instdone.c+14 -140 replies
8/9intel_gpu_top: account for per context statisticstools/intel_gpu_top.c+315 -1750 replies
9/9intel_gpu_top: hide absolute counter valuestools/intel_gpu_top.c+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] intel-gpu-top improvements

Since it seemed like a re-occurring complaint that developers didn't feel they could trust the numbers from intel-gpu-top I reviewed the implementation and came across a few issues that I've tried to address in this series.

Just to let others know; I'm also experimenting with the possibility of collecting this data, and more, from the kernel via the perf interface (building on work originally done by Chris Wilson last year) so these may just be stop-gap improvements if those experiments pan out.

- Robert

Robert Bragg (9):
intel_gpu_top: don't fclose NULL output
intel_gpu_top: aim for 2000 samples per frame
intel_gpu_top: ignore out of range ring pointers
intel_gpu_top: read max/current gt freq via sysfs
intel_reg: rename RING_LEN RING_CTL
intel_reg: add RING_CCID current context ID reg
instdone: Add human readable names for HSW
intel_gpu_top: account for per context statistics
intel_gpu_top: hide absolute counter values

 lib/instdone.c        |  28 +--
 lib/intel_reg.h       |   8 +-
 tools/intel_gpu_top.c | 519 ++++++++++++++++++++++++++++++++++----------------
 3 files changed, 368 insertions(+), 187 deletions(-)
Signature · 12 lines
2.0.1

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.