diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2021-12-03 14:05:10 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2022-04-05 08:59:13 +0100 |
commit | cc359d5d2d3fc8be50340ba0379bacaf5c37bc5f (patch) | |
tree | 55735e5404b2138691be85781ffa6058cfe3b1a9 /tools/intel_reg_decode.c | |
parent | 2f81ed3aed873c7cc2f6d0e1117fa4fb02033246 (diff) |
intel-gpu-top: Add support for per client stats
Use the i915 exported data in /proc/<pid>/fdinfo to show GPU utilization
per DRM client.
Example of the output:
intel-gpu-top: Intel Tigerlake (Gen12) @ /dev/dri/card0 - 220/ 221 MHz
70% RC6; 0.62/ 7.08 W; 760 irqs/s
ENGINES BUSY MI_SEMA MI_WAIT
Render/3D 23.06% |██████▊ | 0% 0%
Blitter 0.00% | | 0% 0%
Video 5.40% |█▋ | 0% 0%
VideoEnhance 20.67% |██████ | 0% 0%
PID NAME Render/3D Blitter Video VideoEnhance
3082 mpv | || ||▌ ||██ |
3117 neverball |█▉ || || || |
1 systemd |▍ || || || |
2338 gnome-shell | || || || |
v2:
* Removed hardcoded array size from client add/update by passing in
drm_fd_info directly.
* Added some asserts and simplified a couple expressions. (Umesh)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Diffstat (limited to 'tools/intel_reg_decode.c')
0 files changed, 0 insertions, 0 deletions