turnip: Move remaining drm code to tu_drm.c
authorKristian H. Kristensen <hoegsberg@google.com>
Mon, 20 Jul 2020 19:47:57 +0000 (12:47 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 01:19:22 +0000 (01:19 +0000)
commit4b9c0cd821ae5ca1221c71c5b32de94cc8efb070
tree4700645b76e013788825db9759b931c36ccc706d
parent7dfeae1a457b84248974f32c043bdc258ec7329b
turnip: Move remaining drm code to tu_drm.c

This moves the semaphore implementation and tu_QueueSubmit to
tu_drm.c, such that that's the only file including xf86drm.h and
msm_drm.h.  This way, the entire kernel interface is contained in
tu_drm.c

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5999>
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_drm.c