diff options
| author | Tvrtko Ursulin <[email protected]> | 2022-04-01 15:22:05 +0100 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2022-04-05 08:40:57 +0100 |
| commit | 055634e4b62f109a47727c2c50586e2e318595a9 (patch) | |
| tree | e251fc4ed31102d7d60d8f7e3cb999a7908ec28d /tools/perf/scripts/python/stackcollapse.py | |
| parent | e2d0ff3525b9be7287c583708ff2475c623cfa5c (diff) | |
drm/i915: Expose client engine utilisation via fdinfo
Similar to AMD commit
874442541133 ("drm/amdgpu: Add show_fdinfo() interface"), using the
infrastructure added in previous patches, we add basic client info
and GPU engine utilisation for i915.
Example of the output:
pos: 0
flags: 0100002
mnt_id: 21
drm-driver: i915
drm-pdev: 0000:00:02.0
drm-client-id: 7
drm-engine-render: 9288864723 ns
drm-engine-copy: 2035071108 ns
drm-engine-video: 0 ns
drm-engine-video-enhance: 0 ns
v2:
* Update for removal of name and pid.
v3:
* Use drm_driver.name.
v4:
* Added drm-engine-capacity- tag.
* Fix typo. (Umesh)
v5:
* Don't output engine data before Gen8.
Signed-off-by: Tvrtko Ursulin <[email protected]>
Cc: David M Nieto <[email protected]>
Cc: Christian König <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Chris Healy <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Umesh Nerlige Ramappa <[email protected]>
Acked-by: Rob Clark <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions