Home
last modified time | relevance | path

Searched refs:amdgpu_bo_handle (Results 1 – 18 of 18) sorted by relevance

/external/libdrm/amdgpu/
Damdgpu.h123 typedef struct amdgpu_bo *amdgpu_bo_handle; typedef
234 amdgpu_bo_handle buf_handle;
311 amdgpu_bo_handle handle;
564 amdgpu_bo_handle *buf_handle);
576 int amdgpu_bo_set_metadata(amdgpu_bo_handle buf_handle,
593 int amdgpu_bo_query_info(amdgpu_bo_handle buf_handle,
611 int amdgpu_bo_export(amdgpu_bo_handle buf_handle,
673 amdgpu_bo_handle *buf_handle);
693 int amdgpu_bo_free(amdgpu_bo_handle buf_handle);
707 int amdgpu_bo_cpu_map(amdgpu_bo_handle buf_handle, void **cpu);
[all …]
Damdgpu_bo.c54 amdgpu_bo_handle *buf_handle) in amdgpu_bo_alloc()
97 int amdgpu_bo_set_metadata(amdgpu_bo_handle bo, in amdgpu_bo_set_metadata()
120 int amdgpu_bo_query_info(amdgpu_bo_handle bo, in amdgpu_bo_query_info()
171 static void amdgpu_add_handle_to_table(amdgpu_bo_handle bo) in amdgpu_add_handle_to_table()
179 static int amdgpu_bo_export_flink(amdgpu_bo_handle bo) in amdgpu_bo_export_flink()
227 int amdgpu_bo_export(amdgpu_bo_handle bo, in amdgpu_bo_export()
394 int amdgpu_bo_free(amdgpu_bo_handle buf_handle) in amdgpu_bo_free()
428 int amdgpu_bo_cpu_map(amdgpu_bo_handle bo, void **cpu) in amdgpu_bo_cpu_map()
476 int amdgpu_bo_cpu_unmap(amdgpu_bo_handle bo) in amdgpu_bo_cpu_unmap()
510 int amdgpu_bo_wait_for_idle(amdgpu_bo_handle bo, in amdgpu_bo_wait_for_idle()
[all …]
/external/libdrm/tests/amdgpu/
Damdgpu_test.h200 static inline amdgpu_bo_handle gpu_mem_alloc( in gpu_mem_alloc()
210 amdgpu_bo_handle buf_handle; in gpu_mem_alloc()
235 static inline int gpu_mem_free(amdgpu_bo_handle bo, in gpu_mem_free()
257 amdgpu_bo_handle *bo) in amdgpu_bo_alloc_wrap()
260 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_wrap()
280 amdgpu_bo_handle *bo, void **cpu, uint64_t *mc_address, in amdgpu_bo_alloc_and_map()
284 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_and_map()
331 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free()
344 amdgpu_get_bo_list(amdgpu_device_handle dev, amdgpu_bo_handle bo1, in amdgpu_get_bo_list()
345 amdgpu_bo_handle bo2, amdgpu_bo_list_handle *list) in amdgpu_get_bo_list()
[all …]
Dbo_tests.c38 static amdgpu_bo_handle buffer_handle;
60 amdgpu_bo_handle buf_handle; in suite_bo_tests_init()
199 amdgpu_bo_handle bo; in amdgpu_memory_alloc()
246 amdgpu_bo_handle bo; in amdgpu_mem_fail_alloc()
249 amdgpu_bo_handle buf_handle; in amdgpu_mem_fail_alloc()
Dbasic_tests.c58 int res_cnt, amdgpu_bo_handle *resources,
341 amdgpu_bo_handle ib_result_handle, ib_result_ce_handle; in amdgpu_command_submission_gfx_separate_ibs()
432 amdgpu_bo_handle ib_result_handle; in amdgpu_command_submission_gfx_shared_ib()
528 amdgpu_bo_handle bo1, bo2, vram_max[2], gtt_max[2]; in amdgpu_bo_eviction_test()
529 amdgpu_bo_handle *resources; in amdgpu_bo_eviction_test()
553 resources = calloc(4, sizeof(amdgpu_bo_handle)); in amdgpu_bo_eviction_test()
691 amdgpu_bo_handle ib_result_handle[2]; in amdgpu_semaphore_test()
830 amdgpu_bo_handle ib_result_handle; in amdgpu_command_submission_compute_nop()
938 int res_cnt, amdgpu_bo_handle *resources, in amdgpu_test_exec_cs_helper()
945 amdgpu_bo_handle ib_result_handle; in amdgpu_test_exec_cs_helper()
[all …]
Dcs_tests.c46 static amdgpu_bo_handle ib_handle;
51 static amdgpu_bo_handle resources[MAX_RESOURCES];
87 amdgpu_bo_handle ib_result_handle; in suite_cs_tests_init()
205 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_create()
275 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_decode()
415 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_destroy()
Dvcn_tests.c40 amdgpu_bo_handle handle;
53 static amdgpu_bo_handle ib_handle;
58 static amdgpu_bo_handle resources[MAX_RESOURCES];
194 amdgpu_bo_handle buf_handle; in alloc_resource()
Duvd_enc_tests.c41 amdgpu_bo_handle handle;
64 static amdgpu_bo_handle ib_handle;
70 static amdgpu_bo_handle resources[MAX_RESOURCES];
200 amdgpu_bo_handle buf_handle; in alloc_resource()
Dvce_tests.c42 amdgpu_bo_handle handle;
67 static amdgpu_bo_handle ib_handle;
73 static amdgpu_bo_handle resources[MAX_RESOURCES];
208 amdgpu_bo_handle buf_handle; in alloc_resource()
Dvm_tests.c93 amdgpu_bo_handle ib_result_handle; in amdgpu_vmid_reserve_test()
Ddeadlock_tests.c168 amdgpu_bo_handle ib_result_handle; in amdgpu_deadlock_helper()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.h38 amdgpu_bo_handle user_fence_bo;
85 amdgpu_bo_handle *handles;
Damdgpu_bo.h92 amdgpu_bo_handle bo; /* NULL for slab entries and sparse buffers */
Damdgpu_cs.c265 amdgpu_bo_handle buf_handle; in amdgpu_ctx_create()
1221 amdgpu_bo_handle *handles; in amdgpu_cs_submit_ib()
Damdgpu_bo.c382 amdgpu_bo_handle buf_handle; in amdgpu_create_bo()
1393 amdgpu_bo_handle buf_handle; in amdgpu_bo_from_ptr()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.h53 amdgpu_bo_handle bo;
Dradv_amdgpu_cs.c51 amdgpu_bo_handle *handles;
428 amdgpu_bo_handle bo) in radv_amdgpu_cs_find_buffer()
450 amdgpu_bo_handle bo, in radv_amdgpu_cs_add_buffer_internal()
463 cs->handles = realloc(cs->handles, new_count * sizeof(amdgpu_bo_handle)); in radv_amdgpu_cs_add_buffer_internal()
583 amdgpu_bo_handle *handles; in radv_amdgpu_create_bo_list()
630 amdgpu_bo_handle *handles = malloc(sizeof(amdgpu_bo_handle) * total_buffer_count); in radv_amdgpu_create_bo_list()
655 memcpy(handles, cs->handles, cs->num_buffers * sizeof(amdgpu_bo_handle)); in radv_amdgpu_create_bo_list()
Dradv_amdgpu_bo.c44 amdgpu_bo_handle bo, in radv_amdgpu_bo_va_op()
297 amdgpu_bo_handle buf_handle; in radv_amdgpu_winsys_bo_create()