diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-30 13:58:27 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-30 21:13:50 +0100 |
| commit | b28b34ac85d73ec77c6c442ab72fe0c7769e6475 (patch) | |
| tree | 57d1e4a3d0ec1cda428832f80d83920db21023a8 /tools/perf/scripts/python/netdev-times.py | |
| parent | drm/i915/gem: Split eb_vma into its own allocation (diff) | |
| download | linux-b28b34ac85d73ec77c6c442ab72fe0c7769e6475.tar.gz linux-b28b34ac85d73ec77c6c442ab72fe0c7769e6475.zip | |
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 <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200330125827.5804-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
