diff options
| author | Chris Wilson <[email protected]> | 2019-01-28 01:02:18 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-01-28 09:30:08 +0000 |
| commit | ad4062da1397e32a942191c61de3eabe1fb3664f (patch) | |
| tree | 4297bac567d5300aa7b887aa9da1846dbaa12232 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | c5627461490e4b913e8747d3b06541e5264a50d7 (diff) | |
drm/i915: Wait for a moment before forcibly resetting the device
During igt, we ask to reset the device if any requests are still
outstanding at the end of a test, as this quickly kills off any
erroneous hanging request streams that may escape a test. However, since
it may take the device a few milliseconds to flush itself after the end
of a normal test, *cough* guc *cough*, we may accidentally tell the
device to reset itself after it idles. If we wait a moment, our usual
I915_IDLE_ENGINES_TIMEOUT of 200ms (seems a bit high, but still better
than umpteen hangchecks!), we can differentiate better between a stuck
engine and a healthy one, and so avoid prematurely forcing the reset and
any extra complications that may entail.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions