aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-03-30 13:58:27 +0100
committerChris Wilson <[email protected]>2020-03-30 21:13:50 +0100
commitb28b34ac85d73ec77c6c442ab72fe0c7769e6475 (patch)
tree57d1e4a3d0ec1cda428832f80d83920db21023a8 /tools/perf/scripts/python/compaction-times.py
parent0f1dd02295f35dcdcbaafcbcbbec0753884ab974 (diff)
drm/i915/execlists: Explicitly reset both reg and context runtime
Upon a GPU reset, we copy the default context image over top of the guilty image. This will rollback the CTX_TIMESTAMP register to before our value of ce->runtime.last. Reset both back to 0 so that we do not encounter an underflow on the next schedule out after resume. This should not be a huge issue in practice, as hangs should be rare in correct code. Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions