diff options
author | 2017-10-15 15:37:25 +0100 | |
---|---|---|
committer | 2017-10-16 20:44:19 +0100 | |
commit | 6f74b36b92cf9ee6450258fa341cff7c455a138f (patch) | |
tree | 314fccd140e91189a723b133a11ddafc6fc537fc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Trim struct_mutex hold duration for i915_gem_free_objects (diff) | |
download | linux-dev-6f74b36b92cf9ee6450258fa341cff7c455a138f.tar.xz linux-dev-6f74b36b92cf9ee6450258fa341cff7c455a138f.zip |
drm/i915: Skip HW reinitialisation on resume if still wedged
If we fail to recover the HW state upon resume (i.e. our attempt to
clear the wedged bit and reset during i915_gem_sanitize() fails), then
skip the HW restart inside i915_gem_init_hw(). We will ultimately do the
HW restart when successfully unwedging and resetting the HW later,
but attempting to restore a wedged device upon resume is risky as the HW
is in an unknown state.
v2: Suppress the error message when detecting the already wedged HW.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103240
Testcase: igt/gem_eio/in-flight-suspend
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171015143725.27764-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions