summaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_private.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-01-10 15:34:44 -0800
committerChia-I Wu <[email protected]>2019-03-11 10:01:41 -0700
commit3809e6cf638936642c1b2aff00d3354a5962afb3 (patch)
tree98e831765ff5c4708810c745c04b18b97143e725 /src/freedreno/vulkan/tu_private.h
parentfcf24f47aac414cbd634be5085002a5698618678 (diff)
turnip: add wrappers around DRM_MSM_SUBMITQUEUE_*
Add tu_drm_submitqueue_new and tu_drm_submitqueue_close.
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r--src/freedreno/vulkan/tu_private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h
index a2deb98abf8..c37920c5779 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -1195,6 +1195,14 @@ tu_drm_get_gpu_id(const struct tu_physical_device *dev, uint32_t *id);
int
tu_drm_get_gmem_size(const struct tu_physical_device *dev, uint32_t *size);
+int
+tu_drm_submitqueue_new(const struct tu_device *dev,
+ int priority,
+ uint32_t *queue_id);
+
+void
+tu_drm_submitqueue_close(const struct tu_device *dev, uint32_t queue_id);
+
uint32_t
tu_gem_new(struct tu_device *dev, uint64_t size, uint32_t flags);
void