]> git.ipfire.org Git - thirdparty/linux.git/commit - drivers/gpu/drm/i915/intel_lrc.c
drm/i915: Split execlists/guc reset preparations
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 May 2018 18:33:52 +0000 (19:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
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 <chris@chris-wilson.co.uk>
Cc: MichaƂ Winiarski <michal.winiarski@intel.com>
CC: Michel Thierry <michel.thierry@intel.com>
Cc: Jeff McGee <jeff.mcgee@intel.com>
Reviewed-by: Jeff McGee <jeff.mcgee@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180516183355.10553-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_guc_submission.c
drivers/gpu/drm/i915/intel_lrc.c