diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-30 13:29:51 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-30 14:54:01 +0300 |
commit | ecf73eb2d27d43b2153bb80671768a06d35521f1 (patch) | |
tree | 3bfbcd9e2260aafeb49861917d1fb05c9503feb2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7436830c8d1a3aab61d131d5e0494e2dbb9e55bd (diff) | |
download | linux-ecf73eb2d27d43b2153bb80671768a06d35521f1.tar.xz |
drm/i915: Skip switch-to-kernel-context on suspend when wedged
If the HW is already wedged, attempting to submit a request will
generate an -EIO. If we tried this during suspend, we would abort
whereas all we want to do is to go sleep and throw away the corrupt
state.
Fixes: 5ab57c702069 ("drm/i915: Flush logical context image out to memory upon suspend")
Testcase: igt/gem_eio/suspend
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171130102951.14965-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions