]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Refactor out complete_preempt_context()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 May 2018 18:33:50 +0000 (19:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 May 2018 19:20:34 +0000 (20:20 +0100)
commit05cedff01b776cebffd2fee07f7be7d8c97d0904
tree6c4512487f61c526f6862dfbf0dcb192625d1d01
parent777b86cb133e8c3c5e9819c43efb2a7d9f008eff
drm/i915/execlists: Refactor out complete_preempt_context()

As a complement to inject_preempt_context(), follow up with the function
to handle its completion. This will be useful should we wish to extend
the duties of the preempt-context for execlists.

v2: And do the same for the guc.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jeff McGee <jeff.mcgee@intel.com>
Cc: MichaƂ Winiarski <michal.winiarski@intel.com>
Reviewed-by: Jeff McGee <jeff.mcgee@intel.com> #v1
Link: https://patchwork.freedesktop.org/patch/msgid/20180516183355.10553-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_guc_submission.c
drivers/gpu/drm/i915/intel_lrc.c