aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMika Kuoppala <[email protected]>2013-10-30 15:44:16 +0200
committerDaniel Vetter <[email protected]>2013-11-12 14:15:48 +0100
commitb6359918b885da7c7b58c050674278dbd06020ab (patch)
treecc53fb03185fe5cea25274079844228b25f790c5 /tools/perf/scripts/python/netdev-times.py
parent2ac0f45099d2d3b8918d63e1bac698b5cb272aa1 (diff)
drm/i915: add i915_get_reset_stats_ioctl
This ioctl returns reset stats for specified context. The struct returned contains context loss counters. reset_count: all resets across all contexts batch_active: active batches lost on resets batch_pending: pending batches lost on resets v2: get rid of state tracking completely and deliver only counts. Idea from Chris Wilson. v3: fix commit message v4: default context handled inside i915_gem_context_get_hang_stats v5: reset_count only for priviledged process v6: ctx=0 needs CAP_SYS_ADMIN for batch_* counters (Chris Wilson) v7: context hang stats never returns NULL v8: rebased on top of reworked context hang stats DRM_RENDER_ALLOW for ioctl v9: use DEFAULT_CONTEXT_ID. Improve comments for ioctl struct members Signed-off-by: Mika Kuoppala <[email protected]> Cc: Ian Romanick <[email protected]> Cc: Chris Wilson <[email protected]> Cc: Daniel Vetter <[email protected]> Reviewed-by: Damien Lespiau <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions