diff options
| author | Chris Wilson <[email protected]> | 2017-04-25 14:00:49 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-04-25 15:33:22 +0100 |
| commit | e6ba9992de6c63fe86c028b4876338e1cb7dac34 (patch) | |
| tree | 21a3a6a40107f920bf7c451f0aa742f07d317924 /tools/perf/scripts/python | |
| parent | 6b764a594fc4e9f1caa537728a5a8e2192e18fc6 (diff) | |
drm/i915: Differentiate between sw write location into ring and last hw read
We need to keep track of the last location we ask the hw to read up to
(RING_TAIL) separately from our last write location into the ring, so
that in the event of a GPU reset we do not tell the HW to proceed into
a partially written request (which can happen if that request is waiting
for an external signal before being executed).
v2: Refactor intel_ring_reset() (Mika)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100144
Testcase: igt/gem_exec_fence/await-hang
Fixes: 821ed7df6e2a ("drm/i915: Update reset path to fix incomplete requests")
Fixes: d55ac5bf97c6 ("drm/i915: Defer transfer onto execution timeline to actual hw submission")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions