nvk/drm: Restructure nvk_queue_submit_drm_nouveau()
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Mon, 25 Sep 2023 22:22:13 +0000 (17:22 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 26 Sep 2023 05:05:27 +0000 (05:05 +0000)
commit15235af62923af4acdb636838eebad89bbbdee90
tree5d880b071ef318e9d7d57094bf307f80ee4e2231
parentd17db521f76e4e7ac020823922d8c8de8c98f7ee
nvk/drm: Restructure nvk_queue_submit_drm_nouveau()

Now that we don't need the lock, we can return directly.  Also, now that
we don't have the old UAPI, we can clean things up and make the whole
function make a bit more sense.  Also, drop some pointless braces while
we're just moving code around.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25357>
src/nouveau/vulkan/nvk_queue_drm_nouveau.c