drm/i915: Move engine reset prepare/finish to backends
authorChris Wilson <[email protected]>
Wed, 16 May 2018 18:33:51 +0000 (19:33 +0100)
committerChris Wilson <[email protected]>
Wed, 16 May 2018 19:20:35 +0000 (20:20 +0100)
commit5adfb772f8ac1224fe4d651f3628a2e03190f5af
tree8ae17eef09852054bf931cda336acffdf64fa350
parentef2fb7204638f0c67446a90b75e1eae4330682f8
drm/i915: Move engine reset prepare/finish to backends

In preparation to more carefully handling incomplete preemption during
reset by execlists, we move the existing code wholesale to the backends
under a couple of new reset vfuncs.

Signed-off-by: Chris Wilson <[email protected]>
Cc: MichaƂ Winiarski <[email protected]>
CC: Michel Thierry <[email protected]>
Cc: Jeff McGee <[email protected]>
Reviewed-by: Jeff McGee <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h