freedreno/drm/sp: Split submit prep and finish
authorRob Clark <robdclark@chromium.org>
Sat, 17 Apr 2021 19:09:42 +0000 (12:09 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 28 Apr 2021 15:36:42 +0000 (15:36 +0000)
commitc7dc5cf3cb3b9f4c73d51f234e3c09dc4eca22a5
tree9a8a0fd627e6e99aceb446994dbd4a4ecb4dc6c8
parent62a6773d804977ff9d4589d075838eedfba87413
freedreno/drm/sp: Split submit prep and finish

For deferred submits, we still need to do the prep steps immediately,
but the ioctl construction can be deferred.. prepare for that by
splitting the prep out.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10444>
src/freedreno/drm/msm_ringbuffer_sp.c