drm/i915: Split execlists/guc reset preparations
authorChris Wilson <[email protected]>
Wed, 16 May 2018 18:33:52 +0000 (19:33 +0100)
committerChris Wilson <[email protected]>
Wed, 16 May 2018 19:20:37 +0000 (20:20 +0100)
commit1329115c6c4370e93813b44084ee06610c3279bd
treec6994a69c7075b3dbcfc3b08b340a4a6895de0b2
parent5adfb772f8ac1224fe4d651f3628a2e03190f5af
drm/i915: Split execlists/guc reset preparations

In the next patch, we will make the execlists reset prepare callback
take into account preemption by flushing the context-switch handler.
This is not applicable to the GuC submission backend, so split the two
into their own backend callbacks.

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/intel_guc_submission.c
drivers/gpu/drm/i915/intel_lrc.c