diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-16 17:13:05 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-16 17:17:15 +0000 |
commit | d3df42b76f583c6c4c6235a1b44339505eaff559 (patch) | |
tree | 8f8f9e5d1ea81acc7c7f5d8c2f5c40da524c6c1a /tools/perf/scripts/python/stackcollapse.py | |
parent | 2e8f9d322948406fb3aa0b27bda4d40a34e57123 (diff) |
drm/i915: Wait for reset to complete before returning from debugfs/i915_wedged
Provide some serialisation between user operations by waiting for the
reset initiated by setting i915_wedged to complete.
The automatic wait here makes
echo 1 > i915_wedged; cat i915_error_state
do the right thing, and not risk reporting "No error collected".
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170316171305.12972-4-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions