diff options
| author | Chris Wilson <[email protected]> | 2020-03-30 13:58:27 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-03-30 21:13:50 +0100 |
| commit | b28b34ac85d73ec77c6c442ab72fe0c7769e6475 (patch) | |
| tree | 57d1e4a3d0ec1cda428832f80d83920db21023a8 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 0f1dd02295f35dcdcbaafcbcbbec0753884ab974 (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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions