Lines Matching defs:tu_device
204 struct tu_device struct
206 struct vk_device vk;
207 struct tu_instance *instance;
209 struct tu_queue *queues[TU_MAX_QUEUE_FAMILIES];
210 int queue_count[TU_MAX_QUEUE_FAMILIES];
212 struct tu_physical_device *physical_device;
213 int fd;
215 struct ir3_compiler *compiler;
218 struct vk_pipeline_cache *mem_cache;
225 struct {
229 } scratch_bos[48 - MIN_SCRATCH_BO_SIZE_LOG2];
231 struct tu_bo *global_bo;
233 uint32_t implicit_sync_bo_count;
238 struct tu_suballocator pipeline_suballoc;
239 mtx_t pipeline_mutex;
244 struct tu_suballocator autotune_suballoc;
245 mtx_t autotune_mutex;
252 struct tu_bo *tess_bo;
254 struct ir3_shader_variant *global_shader_variants[GLOBAL_SH_COUNT];
255 struct ir3_shader *global_shaders[GLOBAL_SH_COUNT];
256 uint64_t global_shader_va[GLOBAL_SH_COUNT];
258 uint32_t vsc_draw_strm_pitch;
259 uint32_t vsc_prim_strm_pitch;
261 mtx_t mutex;
264 struct drm_msm_gem_submit_bo *bo_list;
266 uint32_t bo_count, bo_list_size;
267 mtx_t bo_mutex;
269 struct u_rwlock dma_bo_lock;
287 struct util_sparse_array bo_map;
290 struct tu_cs *perfcntrs_pass_cs;
291 struct tu_cs_entry *perfcntrs_pass_cs_entries;
293 struct util_dynarray dynamic_rendering_pending;
294 VkCommandPool dynamic_rendering_pool;
295 uint32_t dynamic_rendering_fence;
299 pthread_cond_t timeline_cond;
300 pthread_mutex_t submit_mutex;
325 VK_DEFINE_HANDLE_CASTS(tu_device, vk.base, VkDevice, VK_OBJECT_TYPE_DEVICE) argument