anv: break up internal queueing function
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sun, 6 Dec 2020 21:11:32 +0000 (23:11 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 9 Feb 2021 21:08:52 +0000 (21:08 +0000)
commit8297a9a429b19db7f2424776cb282466e3b2a938
tree4be16647c980d36a80e88b507520e37502041803
parente93344288b7e6ae35fba9b7898388e4b6c1f2698
anv: break up internal queueing function

We want more control over batching things up when possible to minimize
the round trips to i915. This breaking up of one big internal function
into helpers will be useful later.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8934>
src/intel/vulkan/anv_queue.c