aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-01-17 11:32:59 +0000
committerChris Wilson <[email protected]>2020-01-17 16:09:42 +0000
commit94523024363b373584bfb0a8eed9ba194d41b4d5 (patch)
treeaa428571a0ae0df5210cd7af557c4b9ed3fee788 /tools/perf/scripts/python
parent89c02493deb93852f4b361aaeae11b80ab8edda0 (diff)
drm/i915/gt: Report the currently active execlists request
Since commit 22b7a426bbe1 ("drm/i915/execlists: Preempt-to-busy"), we prune the engine->active.requests list prior to preemption, thus removing the trace of the currently executing request. If that request hangs rather than be preempted, we conclude that no active request was on the GPU. Fortunately, this only impacts our debugging, and not our means of hang detection or recovery. v2: Use from to check the current iterator before continuing, and report active as NULL if the current request is already completed. References: 22b7a426bbe1 ("drm/i915/execlists: Preempt-to-busy") Signed-off-by: Chris Wilson <[email protected]> Cc: Mika Kuoppala <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions