diff options
| author | Chris Wilson <[email protected]> | 2020-01-17 11:32:59 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-01-17 16:09:42 +0000 |
| commit | 94523024363b373584bfb0a8eed9ba194d41b4d5 (patch) | |
| tree | aa428571a0ae0df5210cd7af557c4b9ed3fee788 /tools/perf/scripts/python | |
| parent | 89c02493deb93852f4b361aaeae11b80ab8edda0 (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