Home
last modified time | relevance | path

Searched refs:tu_device (Results 1 – 25 of 44) sorted by relevance

12

/third_party/mesa3d/src/freedreno/vulkan/
Dtu_drm.h70 tu_bo_init_new(struct tu_device *dev, struct tu_bo **bo, uint64_t size,
74 tu_bo_init_dmabuf(struct tu_device *dev,
80 tu_bo_export_dmabuf(struct tu_device *dev, struct tu_bo *bo);
83 tu_bo_finish(struct tu_device *dev, struct tu_bo *bo);
86 tu_bo_map(struct tu_device *dev, struct tu_bo *bo);
99 tu_device_get_gpu_timestamp(struct tu_device *dev,
103 tu_device_get_suspend_count(struct tu_device *dev,
107 tu_device_wait_u_trace(struct tu_device *dev, struct tu_u_trace_syncobj *syncobj);
113 tu_drm_submitqueue_new(const struct tu_device *dev,
118 tu_drm_submitqueue_close(const struct tu_device *dev, uint32_t queue_id);
[all …]
Dtu_perfetto.h73 struct tu_device;
74 void tu_perfetto_submit(struct tu_device *dev, uint32_t submission_id);
79 tu_device_get_perfetto_state(struct tu_device *dev);
82 tu_device_get_gpu_timestamp(struct tu_device *dev,
86 tu_device_get_suspend_count(struct tu_device *dev,
90 tu_device_ticks_to_ns(struct tu_device *dev, uint64_t ts);
Dtu_drm.c113 tu_device_get_gpu_timestamp(struct tu_device *dev, uint64_t *ts) in tu_device_get_gpu_timestamp()
119 tu_device_get_suspend_count(struct tu_device *dev, uint64_t *suspend_count) in tu_device_get_suspend_count()
128 struct tu_device *device = container_of(vk_device, struct tu_device, vk); in tu_device_check_status()
143 tu_drm_submitqueue_new(const struct tu_device *dev, in tu_drm_submitqueue_new()
165 tu_drm_submitqueue_close(const struct tu_device *dev, uint32_t queue_id) in tu_drm_submitqueue_close()
172 tu_gem_close(const struct tu_device *dev, uint32_t gem_handle) in tu_gem_close()
183 tu_gem_info(const struct tu_device *dev, uint32_t gem_handle, uint32_t info) in tu_gem_info()
199 tu_bo_init(struct tu_device *dev, in tu_bo_init()
252 tu_bo_init_new(struct tu_device *dev, struct tu_bo **out_bo, uint64_t size, in tu_bo_init_new()
286 tu_bo_init_dmabuf(struct tu_device *dev, in tu_bo_init_dmabuf()
[all …]
Dtu_kgsl.c42 tu_drm_submitqueue_new(const struct tu_device *dev, in tu_drm_submitqueue_new()
62 tu_drm_submitqueue_close(const struct tu_device *dev, uint32_t queue_id) in tu_drm_submitqueue_close()
72 tu_bo_init_new(struct tu_device *dev, struct tu_bo **out_bo, uint64_t size, in tu_bo_init_new()
107 tu_bo_init_dmabuf(struct tu_device *dev, in tu_bo_init_dmabuf()
155 tu_bo_export_dmabuf(struct tu_device *dev, struct tu_bo *bo) in tu_bo_export_dmabuf()
163 tu_bo_map(struct tu_device *dev, struct tu_bo *bo) in tu_bo_map()
180 tu_bo_finish(struct tu_device *dev, struct tu_bo *bo) in tu_bo_finish()
537 TU_FROM_HANDLE(tu_device, device, _device); in sync_create()
585 TU_FROM_HANDLE(tu_device, device, _device); in tu_DestroySemaphore()
626 TU_FROM_HANDLE(tu_device, device, _device); in tu_DestroyFence()
[all …]
Dtu_autotune.h54 struct tu_device *device;
117 VkResult tu_autotune_init(struct tu_autotune *at, struct tu_device *dev);
118 void tu_autotune_fini(struct tu_autotune *at, struct tu_device *dev);
123 void tu_autotune_free_results(struct tu_device *dev, struct list_head *results);
132 struct tu_cs *tu_autotune_on_submit(struct tu_device *dev,
Dtu_shader.h38 struct tu_device *dev);
41 tu_spirv_to_nir(struct tu_device *dev,
47 tu_shader_create(struct tu_device *dev,
54 tu_shader_destroy(struct tu_device *dev,
Dtu_device.h148 struct tu_device *device;
204 struct tu_device struct
325 VK_DEFINE_HANDLE_CASTS(tu_device, vk.base, VkDevice, VK_OBJECT_TYPE_DEVICE) argument
421 tu_device_ticks_to_ns(struct tu_device *dev, uint64_t ts);
424 tu_device_lookup_bo(struct tu_device *device, uint32_t handle) in tu_device_lookup_bo()
436 tu_get_scratch_bo(struct tu_device *dev, uint64_t size, struct tu_bo **bo);
477 struct tu_device *device,
484 struct tu_device *device,
Dtu_autotune.c45 tu_autotune_free_results_locked(struct tu_device *dev, struct list_head *results);
94 create_submission_data(struct tu_device *dev, struct tu_autotune *at) in create_submission_data()
162 free_result(struct tu_device *dev, struct tu_renderpass_result *result) in free_result()
170 free_history(struct tu_device *dev, struct tu_renderpass_history *history) in free_history()
209 history_add_result(struct tu_device *dev, struct tu_renderpass_history *history, in history_add_result()
242 struct tu_device *dev = at->device; in process_results()
289 tu_autotune_on_submit(struct tu_device *dev, in tu_autotune_on_submit()
391 tu_autotune_init(struct tu_autotune *at, struct tu_device *dev) in tu_autotune_init()
407 tu_autotune_fini(struct tu_autotune *at, struct tu_device *dev) in tu_autotune_fini()
455 tu_autotune_free_results_locked(struct tu_device *dev, struct list_head *results) in tu_autotune_free_results_locked()
[all …]
Dtu_dynamic_rendering.h15 VkResult tu_init_dynamic_rendering(struct tu_device *dev);
17 void tu_destroy_dynamic_rendering(struct tu_device *dev);
19 VkResult tu_insert_dynamic_cmdbufs(struct tu_device *dev,
Dtu_android.c102 tu_gralloc_info_other(struct tu_device *device, in tu_gralloc_info_other()
175 tu_gralloc_info_cros(struct tu_device *device, in tu_gralloc_info_cros()
197 tu_gralloc_info(struct tu_device *device, in tu_gralloc_info()
308 TU_FROM_HANDLE(tu_device, device, device_h); in format_supported_with_usage()
353 setup_gralloc0_usage(struct tu_device *device, VkFormat format, in setup_gralloc0_usage()
399 TU_FROM_HANDLE(tu_device, device, device_h); in tu_GetSwapchainGrallocUsageANDROID()
419 TU_FROM_HANDLE(tu_device, device, device_h); in tu_GetSwapchainGrallocUsage2ANDROID()
Dtu_descriptor_set.c38 descriptor_size(struct tu_device *dev, VkDescriptorType type) in descriptor_size()
79 mutable_descriptor_size(struct tu_device *dev, const VkMutableDescriptorTypeListVALVE *list) in mutable_descriptor_size()
98 TU_FROM_HANDLE(tu_device, device, _device); in tu_CreateDescriptorSetLayout()
259 TU_FROM_HANDLE(tu_device, device, _device); in tu_DestroyDescriptorSetLayout()
269 tu_descriptor_set_layout_destroy(struct tu_device *device, in tu_descriptor_set_layout_destroy()
282 TU_FROM_HANDLE(tu_device, device, _device); in tu_GetDescriptorSetLayoutSupport()
423 TU_FROM_HANDLE(tu_device, device, _device); in tu_CreatePipelineLayout()
484 TU_FROM_HANDLE(tu_device, device, _device); in tu_DestroyPipelineLayout()
499 tu_descriptor_set_create(struct tu_device *device, in tu_descriptor_set_create()
618 tu_descriptor_set_destroy(struct tu_device *device, in tu_descriptor_set_destroy()
[all …]
Dtu_perfetto.cc119 stage_start(struct tu_device *dev, uint64_t ts_ns, enum tu_stage_id stage) in stage_start()
129 stage_end(struct tu_device *dev, uint64_t ts_ns, enum tu_stage_id stage, in stage_end()
184 sync_timestamp(struct tu_device *dev) in sync_timestamp()
272 tu_perfetto_submit(struct tu_device *dev, uint32_t submission_id) in tu_perfetto_submit()
289 tu_start_##event_name(struct tu_device *dev, uint64_t ts_ns, \
297 tu_end_##event_name(struct tu_device *dev, uint64_t ts_ns, \
Dtu_descriptor_set.h197 void tu_descriptor_set_layout_destroy(struct tu_device *device,
208 tu_descriptor_set_layout_unref(struct tu_device *device, in tu_descriptor_set_layout_unref()
217 tu_update_descriptor_sets(const struct tu_device *device,
226 const struct tu_device *device,
Dtu_util.c65 const struct tu_device *dev, in tu_tiling_config_update_tile_layout()
131 const struct tu_device *dev) in tu_tiling_config_update_pipe_layout()
157 const struct tu_device *dev) in tu_tiling_config_update_pipes()
206 tu_tiling_config_update_binning(struct tu_tiling_config *tiling, const struct tu_device *device) in tu_tiling_config_update_binning()
225 const struct tu_device *device, in tu_framebuffer_tiling_config()
238 tu_dbg_log_gmem_load_store_skips(struct tu_device *device) in tu_dbg_log_gmem_load_store_skips()
Dtu_cs_breadcrumbs.c77 struct tu_device *device;
150 tu_breadcrumbs_init(struct tu_device *device) in tu_breadcrumbs_init()
186 tu_breadcrumbs_finish(struct tu_device *device) in tu_breadcrumbs_finish()
207 struct tu_device *device = cs->device; in tu_cs_emit_sync_breadcrumb()
Dtu_dynamic_rendering.c32 get_cmd_buffer(struct tu_device *dev, struct tu_cmd_buffer **cmd_buffer_out) in get_cmd_buffer()
90 tu_init_dynamic_rendering(struct tu_device *dev) in tu_init_dynamic_rendering()
105 tu_destroy_dynamic_rendering(struct tu_device *dev) in tu_destroy_dynamic_rendering()
114 tu_insert_dynamic_cmdbufs(struct tu_device *dev, in tu_insert_dynamic_cmdbufs()
Dtu_image.c150 tu_image_view_init(struct tu_device *device, in tu_image_view_init()
342 tu_image_init(struct tu_device *device, struct tu_image *image, in tu_image_init()
595 TU_FROM_HANDLE(tu_device, device, _device); in tu_CreateImage()
664 TU_FROM_HANDLE(tu_device, device, _device); in tu_DestroyImage()
730 TU_FROM_HANDLE(tu_device, device, _device); in tu_GetDeviceImageMemoryRequirements()
783 TU_FROM_HANDLE(tu_device, device, _device); in tu_CreateImageView()
803 TU_FROM_HANDLE(tu_device, device, _device); in tu_DestroyImageView()
814 struct tu_device *device, in tu_buffer_view_init()
841 TU_FROM_HANDLE(tu_device, device, _device); in tu_CreateBufferView()
861 TU_FROM_HANDLE(tu_device, device, _device); in tu_DestroyBufferView()
Dtu_cs.h81 struct tu_device *device;
105 tu_breadcrumbs_init(struct tu_device *device);
108 tu_breadcrumbs_finish(struct tu_device *device);
112 struct tu_device *device,
117 tu_cs_init_external(struct tu_cs *cs, struct tu_device *device,
121 tu_cs_init_suballoc(struct tu_cs *cs, struct tu_device *device,
Dtu_shader.c21 tu_spirv_to_nir(struct tu_device *dev, in tu_spirv_to_nir()
127 lower_load_push_constant(struct tu_device *dev, in lower_load_push_constant()
231 lower_ssbo_ubo_intrinsic(struct tu_device *dev, in lower_ssbo_ubo_intrinsic()
324 build_bindless(struct tu_device *dev, nir_builder *b, in build_bindless()
385 lower_image_deref(struct tu_device *dev, nir_builder *b, in lower_image_deref()
396 struct tu_device *dev, in lower_intrinsic()
530 lower_tex(nir_builder *b, nir_tex_instr *tex, struct tu_device *dev, in lower_tex()
561 struct tu_device *dev;
632 tu_lower_io(nir_shader *shader, struct tu_device *dev, in tu_lower_io()
720 tu_shader_create(struct tu_device *dev, in tu_shader_create()
[all …]
Dtu_device.c1472 tu_queue_init(struct tu_device *device, in tu_queue_init()
1520 tu_device_ticks_to_ns(struct tu_device *dev, uint64_t ts) in tu_device_ticks_to_ns()
1532 struct tu_device *device = in tu_trace_create_ts_buffer()
1533 container_of(utctx, struct tu_device, trace_context); in tu_trace_create_ts_buffer()
1544 struct tu_device *device = in tu_trace_destroy_ts_buffer()
1545 container_of(utctx, struct tu_device, trace_context); in tu_trace_destroy_ts_buffer()
1569 struct tu_device *device = in tu_trace_read_ts()
1570 container_of(utctx, struct tu_device, trace_context); in tu_trace_read_ts()
1595 struct tu_device *device = in tu_trace_delete_flush_data()
1596 container_of(utctx, struct tu_device, trace_context); in tu_trace_delete_flush_data()
[all …]
Dtu_suballoc.h20 struct tu_device *dev;
42 struct tu_device *dev,
Dtu_clear_blit.h15 void tu_init_clear_blit_shaders(struct tu_device *dev);
17 void tu_destroy_clear_blit_shaders(struct tu_device *dev);
Dtu_cs.c15 struct tu_device *device, in tu_cs_init()
32 tu_cs_init_external(struct tu_cs *cs, struct tu_device *device, in tu_cs_init_external()
48 tu_cs_init_suballoc(struct tu_cs *cs, struct tu_device *device, in tu_cs_init_suballoc()
Dtu_perfetto_util.c14 tu_device_get_perfetto_state(struct tu_device *dev) in tu_device_get_perfetto_state()
Dtu_android.h16 tu_gralloc_info(struct tu_device *device,

12