Home
last modified time | relevance | path

Searched refs:anv_device (Results 1 – 25 of 45) sorted by relevance

12

/third_party/mesa3d/src/intel/vulkan/
Danv_gem_stubs.c31 anv_gem_create(struct anv_device *device, uint64_t size) in anv_gem_create()
43 anv_gem_close(struct anv_device *device, uint32_t gem_handle) in anv_gem_close()
49 anv_gem_create_regions(struct anv_device *device, uint64_t anv_bo_size, in anv_gem_create_regions()
57 anv_gem_mmap(struct anv_device *device, uint32_t gem_handle, in anv_gem_mmap()
71 anv_gem_munmap(struct anv_device *device, void *p, uint64_t size) in anv_gem_munmap()
77 anv_gem_userptr(struct anv_device *device, void *mem, size_t size) in anv_gem_userptr()
89 anv_gem_busy(struct anv_device *device, uint32_t gem_handle) in anv_gem_busy()
95 anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns) in anv_gem_wait()
101 anv_gem_execbuffer(struct anv_device *device, in anv_gem_execbuffer()
108 anv_gem_set_tiling(struct anv_device *device, in anv_gem_set_tiling()
[all …]
Danv_gem.c42 anv_gem_create(struct anv_device *device, uint64_t size) in anv_gem_create()
58 anv_gem_close(struct anv_device *device, uint32_t gem_handle) in anv_gem_close()
68 anv_gem_create_regions(struct anv_device *device, uint64_t anv_bo_size, in anv_gem_create_regions()
100 anv_gem_mmap_offset(struct anv_device *device, uint32_t gem_handle, in anv_gem_mmap_offset()
122 anv_gem_mmap_legacy(struct anv_device *device, uint32_t gem_handle, in anv_gem_mmap_legacy()
145 anv_gem_mmap(struct anv_device *device, uint32_t gem_handle, in anv_gem_mmap()
164 anv_gem_munmap(struct anv_device *device, void *p, uint64_t size) in anv_gem_munmap()
171 anv_gem_userptr(struct anv_device *device, void *mem, size_t size) in anv_gem_userptr()
190 anv_gem_set_caching(struct anv_device *device, in anv_gem_set_caching()
202 anv_gem_set_domain(struct anv_device *device, uint32_t gem_handle, in anv_gem_set_domain()
[all …]
Danv_private.h429 void __anv_perf_warn(struct anv_device *device,
675 struct anv_device *device;
768 struct anv_device *device;
821 struct anv_device *device,
834 struct anv_device *device,
861 struct anv_device *device,
885 struct anv_device *device;
890 void anv_bo_pool_init(struct anv_bo_pool *pool, struct anv_device *device,
904 void anv_scratch_pool_init(struct anv_device *device,
906 void anv_scratch_pool_finish(struct anv_device *device,
[all …]
Danv_utrace.c29 command_buffers_count_utraces(struct anv_device *device, in command_buffers_count_utraces()
53 struct anv_device *device = in anv_utrace_delete_flush_data()
54 container_of(utctx, struct anv_device, ds.trace_context); in anv_utrace_delete_flush_data()
78 struct anv_device *device = in anv_device_utrace_emit_copy_ts_buffer()
79 container_of(utctx, struct anv_device, ds.trace_context); in anv_device_utrace_emit_copy_ts_buffer()
96 struct anv_device *device = queue->device; in anv_device_utrace_flush_cmd_buffers()
197 struct anv_device *device = in anv_utrace_create_ts_buffer()
198 container_of(utctx, struct anv_device, ds.trace_context); in anv_utrace_create_ts_buffer()
213 struct anv_device *device = in anv_utrace_destroy_ts_buffer()
214 container_of(utctx, struct anv_device, ds.trace_context); in anv_utrace_destroy_ts_buffer()
[all …]
Danv_genX.h57 VkResult genX(init_device_state)(struct anv_device *device);
59 void genX(init_cps_device_state)(struct anv_device *device);
87 struct anv_device *device,
92 struct anv_device *device,
102 const struct anv_device *device,
129 genX(emit_urb_setup)(struct anv_device *device, struct anv_batch *batch,
153 struct anv_device *device,
Danv_acceleration_structure.c75 ANV_FROM_HANDLE(anv_device, device, _device); in anv_CreateAccelerationStructureKHR()
101 ANV_FROM_HANDLE(anv_device, device, _device); in anv_DestroyAccelerationStructureKHR()
142 ANV_FROM_HANDLE(anv_device, device, _device); in anv_BuildAccelerationStructuresKHR()
153 ANV_FROM_HANDLE(anv_device, device, _device); in anv_CopyAccelerationStructureKHR()
164 ANV_FROM_HANDLE(anv_device, device, _device); in anv_CopyAccelerationStructureToMemoryKHR()
175 ANV_FROM_HANDLE(anv_device, device, _device); in anv_CopyMemoryToAccelerationStructureKHR()
190 ANV_FROM_HANDLE(anv_device, device, _device); in anv_WriteAccelerationStructuresPropertiesKHR()
Danv_perf.c101 anv_device_perf_init(struct anv_device *device) in anv_device_perf_init()
107 anv_device_perf_open(struct anv_device *device, uint64_t metric_id) in anv_device_perf_open()
162 ANV_FROM_HANDLE(anv_device, device, _device); in anv_InitializePerformanceApiINTEL()
176 ANV_FROM_HANDLE(anv_device, device, _device); in anv_GetPerformanceParameterINTEL()
217 ANV_FROM_HANDLE(anv_device, device, _device); in anv_AcquirePerformanceConfigurationINTEL()
255 ANV_FROM_HANDLE(anv_device, device, _device); in anv_ReleasePerformanceConfigurationINTEL()
274 struct anv_device *device = queue->device; in anv_QueueSetPerformanceConfigurationINTEL()
295 ANV_FROM_HANDLE(anv_device, device, _device); in anv_UninitializePerformanceApiINTEL()
408 ANV_FROM_HANDLE(anv_device, device, _device); in anv_AcquireProfilingLockKHR()
428 ANV_FROM_HANDLE(anv_device, device, _device); in anv_ReleaseProfilingLockKHR()
Danv_bo_sync.c40 struct anv_device *device = container_of(vk_device, struct anv_device, vk); in anv_bo_sync_init()
57 struct anv_device *device = container_of(vk_device, struct anv_device, vk); in anv_bo_sync_finish()
106 struct anv_device *device = container_of(vk_device, struct anv_device, vk); in anv_bo_sync_wait()
Danv_pipeline_cache.c46 struct anv_device *device = in anv_shader_bin_destroy()
47 container_of(object->device, struct anv_device, vk); in anv_shader_bin_destroy()
68 anv_shader_bin_create(struct anv_device *device, in anv_shader_bin_create()
239 struct anv_device *device = in anv_shader_bin_deserialize()
240 container_of(vk_device, struct anv_device, vk); in anv_shader_bin_deserialize()
298 anv_device_search_for_kernel(struct anv_device *device, in anv_device_search_for_kernel()
322 anv_device_upload_kernel(struct anv_device *device, in anv_device_upload_kernel()
357 anv_device_search_for_nir(struct anv_device *device, in anv_device_search_for_nir()
371 anv_device_upload_nir(struct anv_device *device, in anv_device_upload_nir()
Danv_android.h35 struct anv_device;
38 VkResult anv_image_init_from_gralloc(struct anv_device *device,
43 VkResult anv_image_bind_from_gralloc(struct anv_device *device,
Danv_android.c182 ANV_FROM_HANDLE(anv_device, device, device_h); in get_ahw_buffer_format_properties2()
262 ANV_FROM_HANDLE(anv_device, dev, device_h); in anv_GetAndroidHardwareBufferPropertiesANDROID()
382 ANV_FROM_HANDLE(anv_device, device, device_h); in anv_import_ahw_memory()
481 anv_image_init_from_gralloc(struct anv_device *device, in anv_image_init_from_gralloc()
582 anv_image_bind_from_gralloc(struct anv_device *device, in anv_image_bind_from_gralloc()
638 ANV_FROM_HANDLE(anv_device, device, device_h); in format_supported_with_usage()
667 setup_gralloc0_usage(struct anv_device *device, VkFormat format, in setup_gralloc0_usage()
737 ANV_FROM_HANDLE(anv_device, device, device_h); in anv_GetSwapchainGrallocUsage2ANDROID()
781 ANV_FROM_HANDLE(anv_device, device, device_h); in anv_GetSwapchainGrallocUsageANDROID()
Danv_image.c94 image_binding_grow(const struct anv_device *device, in image_binding_grow()
309 add_surface(struct anv_device *device, in add_surface()
644 add_aux_state_tracking_buffer(struct anv_device *device, in add_aux_state_tracking_buffer()
701 add_aux_surface_if_supported(struct anv_device *device, in add_aux_surface_if_supported()
885 add_shadow_surface(struct anv_device *device, in add_shadow_surface()
927 add_primary_surface(struct anv_device *device, in add_primary_surface()
1027 check_memory_bindings(const struct anv_device *device, in check_memory_bindings()
1141 check_drm_format_mod(const struct anv_device *device, in check_drm_format_mod()
1201 struct anv_device *device, in add_all_surfaces_implicit_layout()
1265 struct anv_device *device, in add_all_surfaces_explicit_layout()
[all …]
Danv_descriptor_set.c309 ANV_FROM_HANDLE(anv_device, device, _device); in anv_GetDescriptorSetLayoutSupport()
415 ANV_FROM_HANDLE(anv_device, device, _device); in anv_CreateDescriptorSetLayout()
626 anv_descriptor_set_layout_destroy(struct anv_device *device, in anv_descriptor_set_layout_destroy()
714 ANV_FROM_HANDLE(anv_device, device, _device); in anv_DestroyDescriptorSetLayout()
782 ANV_FROM_HANDLE(anv_device, device, _device); in anv_CreatePipelineLayout()
827 ANV_FROM_HANDLE(anv_device, device, _device); in anv_DestroyPipelineLayout()
865 ANV_FROM_HANDLE(anv_device, device, _device); in anv_CreateDescriptorPool()
981 ANV_FROM_HANDLE(anv_device, device, _device); in anv_DestroyDescriptorPool()
1006 ANV_FROM_HANDLE(anv_device, device, _device); in anv_ResetDescriptorPool()
1134 anv_descriptor_set_create(struct anv_device *device, in anv_descriptor_set_create()
[all …]
Danv_allocator.c147 struct anv_device *device, in anv_state_table_init()
370 struct anv_device *device, in anv_block_pool_init()
838 struct anv_device *device, in anv_state_pool_init()
1333 anv_bo_pool_init(struct anv_bo_pool *pool, struct anv_device *device, in anv_bo_pool_init()
1423 anv_scratch_pool_init(struct anv_device *device, struct anv_scratch_pool *pool) in anv_scratch_pool_init()
1429 anv_scratch_pool_finish(struct anv_device *device, struct anv_scratch_pool *pool) in anv_scratch_pool_finish()
1447 anv_scratch_pool_alloc(struct anv_device *device, struct anv_scratch_pool *pool, in anv_scratch_pool_alloc()
1512 anv_scratch_pool_get_surf(struct anv_device *device, in anv_scratch_pool_get_surf()
1556 anv_bo_cache_init(struct anv_bo_cache *cache, struct anv_device *device) in anv_bo_cache_init()
1584 anv_bo_alloc_flags_to_bo_flags(struct anv_device *device, in anv_bo_alloc_flags_to_bo_flags()
[all …]
Danv_pipeline.c52 anv_shader_stage_to_nir(struct anv_device *device, in anv_shader_stage_to_nir()
175 struct anv_device *device, in anv_pipeline_init()
212 struct anv_device *device, in anv_pipeline_finish()
226 ANV_FROM_HANDLE(anv_device, device, _device); in anv_DestroyPipeline()
304 populate_base_prog_key(const struct anv_device *device, in populate_base_prog_key()
316 populate_vs_prog_key(const struct anv_device *device, in populate_vs_prog_key()
330 populate_tcs_prog_key(const struct anv_device *device, in populate_tcs_prog_key()
343 populate_tes_prog_key(const struct anv_device *device, in populate_tes_prog_key()
353 populate_gs_prog_key(const struct anv_device *device, in populate_gs_prog_key()
415 populate_task_prog_key(const struct anv_device *device, in populate_task_prog_key()
[all …]
Danv_android_stubs.c27 anv_image_init_from_gralloc(struct anv_device *device, in anv_image_init_from_gralloc()
35 VkResult anv_image_bind_from_gralloc(struct anv_device *device, in anv_image_bind_from_gralloc()
Danv_device.c99 struct anv_device *device = (struct anv_device *)data; in compiler_debug_log()
2915 anv_device_init_border_colors(struct anv_device *device) in anv_device_init_border_colors()
2947 anv_device_init_trivial_batch(struct anv_device *device) in anv_device_init_trivial_batch()
2994 struct anv_device *device = v_batch; in decode_get_bo()
3041 struct anv_device *device = (struct anv_device*)driver_ctx; in intel_aux_map_buffer_alloc()
3059 struct anv_device *device = (struct anv_device*)driver_ctx; in intel_aux_map_buffer_free()
3080 struct anv_device *device; in anv_CreateDevice()
3581 ANV_FROM_HANDLE(anv_device, device, _device); in anv_DestroyDevice()
3679 struct anv_device *device = container_of(vk_device, struct anv_device, vk); in anv_device_check_status()
3699 anv_device_wait(struct anv_device *device, struct anv_bo *bo, in anv_device_wait()
[all …]
Danv_measure.c97 struct anv_device *device = cmd_buffer->device; in anv_measure_init()
304 struct anv_device *device = cmd_buffer->device; in anv_measure_reset()
342 struct anv_device *device = cmd_buffer->device; in anv_measure_destroy()
361 config_from_device(struct anv_device *device) in config_from_device()
425 _anv_measure_acquire(struct anv_device *device) in _anv_measure_acquire()
DgenX_state.c42 genX(emit_slice_hashing_state)(struct anv_device *device, in genX()
165 UNUSED struct anv_device *device = queue->device; in init_common_queue_state()
234 struct anv_device *device = queue->device; in init_render_queue_state()
460 genX(init_device_state)(struct anv_device *device) in genX()
499 genX(init_cps_device_state)(struct anv_device *device) in genX()
557 get_cps_state_offset(struct anv_device *device, bool cps_enabled, in get_cps_state_offset()
592 const struct anv_device *device, in genX()
869 struct anv_device *device = pipeline->base.device; in genX()
946 ANV_FROM_HANDLE(anv_device, device, _device); in genX()
Danv_wsi.c79 VK_FROM_HANDLE(anv_device, device, _device); in anv_AcquireNextImage2KHR()
95 struct anv_device *device = queue->device; in anv_QueuePresentKHR()
DgenX_gpu_memcpy.c55 emit_common_so_memcpy(struct anv_batch *batch, struct anv_device *device, in emit_common_so_memcpy()
115 emit_so_memcpy(struct anv_batch *batch, struct anv_device *device, in emit_so_memcpy()
239 struct anv_device *device, in genX()
Danv_batch_chain.c1255 anv_execbuf_add_bo_bitset(struct anv_device *device,
1262 anv_execbuf_add_bo(struct anv_device *device, in anv_execbuf_add_bo()
1364 anv_execbuf_add_bo_bitset(struct anv_device *device, in anv_execbuf_add_bo_bitset()
1455 anv_reloc_list_apply(struct anv_device *device, in anv_reloc_list_apply()
1584 anv_execbuf_add_syncobj(struct anv_device *device, in anv_execbuf_add_syncobj()
1642 anv_execbuf_add_sync(struct anv_device *device, in anv_execbuf_add_sync()
1752 struct anv_device *device = queue->device; in setup_execbuf_for_cmd_buffers()
1949 struct anv_device *device = queue->device; in setup_empty_execbuf()
1973 struct anv_device *device = queue->device; in setup_utrace_execbuf()
2026 struct anv_device *device = queue->device; in anv_queue_exec_utrace_locked()
[all …]
/third_party/mesa3d/src/intel/vulkan/tests/
Dstate_pool.c39 struct anv_device device = { in main()
Dstate_pool_free_list_only.c38 struct anv_device device = { in main()
Dblock_pool_grow_first.c32 struct anv_device device = { in main()

12