diff options
author | Chris Wilson <[email protected]> | 2019-10-28 12:41:25 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-10-28 16:09:44 +0000 |
commit | a7f328fc789817a6a0e5c46411956810d5ee00ca (patch) | |
tree | d4dd16084feff492b5238dbdb46e40254b748370 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 13670f4ce9169ddc6793e243635f8400e74bbbf7 (diff) |
drm/i915/execlists: Simply walk back along request timeline on reset
The request's timeline will only contain requests from this context, in
order of execution. Therefore, we can simply look back along this
timeline to find the currently executing request.
If we do find that the current context has completed its last request,
that does not imply that all requests are completed in the context, so
only advance the ring->head up to the end of the known completions!
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions