diff options
author | Chris Wilson <[email protected]> | 2018-06-14 10:40:59 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-06-14 13:06:23 +0100 |
commit | 1288786b18f7d979f1f9bcb0134ee5fbfcc8e3d1 (patch) | |
tree | 87b4260c1a98ade5b1c9cb720afd8a5d5191d9d7 /lib/netdev-notifier-error-inject.c | |
parent | 2e932b9cdecebe3f41eaa86f8cec15c42fc62d41 (diff) |
drm/i915: Move GEM sanitize from resume_early to resume
This should be a no-op in terms of our control flow, we move the
sanitization (GPU reset) from the bottom of the early resume phase to
the top of the next. However, following hibernation debug, the power
code skips the early resume phase, but as we are about to completely
restore the GTT mappings, we first need to stop the GPU using them i.e.
perform a GPU reset (i915_gem_sanitize()).
Testcase: igt/gem_exec_suspend/basic-S4-devices
Signed-off-by: Chris Wilson <[email protected]>
Cc: Imre Deak <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions