]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/i915/execlists: Split insert_request()
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 16 Sep 2017 20:44:13 +0000 (21:44 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Sep 2017 10:00:10 +0000 (11:00 +0100)
commit27606fd87895c3b45072a796caead8055a2f4b94
treebe3b3a198779fbb9ff318d116b03632f550bd914
parent08dd3e1acc169100ee35df322e2146e39b43a827
drm/i915/execlists: Split insert_request()

In the next patch we will want to reinsert a request not at the end of
the priority queue, but at the front. Here we split insert_request()
into two, the first function retrieves the priority list (for reuse for
unsubmit later) and a wrapper function to insert at the end of that list
and to schedule the tasklet if we were first.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: MichaƂ Winiarski <michal.winiarski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170916204414.32762-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c