diff options
author | Chris Wilson <[email protected]> | 2017-11-30 10:29:51 +0000 |
---|---|---|
committer | Joonas Lahtinen <[email protected]> | 2017-12-05 16:56:28 +0200 |
commit | dda4b8f73231e70df32f3a218b7ceb6704ec860c (patch) | |
tree | 87c7c05da3750e227c9859ef6558a90e92c73131 /tools/perf | |
parent | ae64f9bd1d3621b5e60d7363bc20afb46aede215 (diff) |
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 <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit ecf73eb2d27d43b2153bb80671768a06d35521f1)
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions