Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu.h115 typedef struct amdgpu_bo *amdgpu_bo_handle; typedef
221 amdgpu_bo_handle buf_handle;
298 amdgpu_bo_handle handle;
551 amdgpu_bo_handle *buf_handle);
563 int amdgpu_bo_set_metadata(amdgpu_bo_handle buf_handle,
580 int amdgpu_bo_query_info(amdgpu_bo_handle buf_handle,
598 int amdgpu_bo_export(amdgpu_bo_handle buf_handle,
660 amdgpu_bo_handle *buf_handle);
680 int amdgpu_bo_free(amdgpu_bo_handle buf_handle);
694 int amdgpu_bo_cpu_map(amdgpu_bo_handle buf_handle, void **cpu);
[all …]
Damdgpu_bo.c56 drm_private void amdgpu_bo_free_internal(amdgpu_bo_handle bo) in amdgpu_bo_free_internal()
81 amdgpu_bo_handle *buf_handle) in amdgpu_bo_alloc()
124 int amdgpu_bo_set_metadata(amdgpu_bo_handle bo, in amdgpu_bo_set_metadata()
147 int amdgpu_bo_query_info(amdgpu_bo_handle bo, in amdgpu_bo_query_info()
198 static void amdgpu_add_handle_to_table(amdgpu_bo_handle bo) in amdgpu_add_handle_to_table()
206 static int amdgpu_bo_export_flink(amdgpu_bo_handle bo) in amdgpu_bo_export_flink()
254 int amdgpu_bo_export(amdgpu_bo_handle bo, in amdgpu_bo_export()
420 int amdgpu_bo_free(amdgpu_bo_handle buf_handle) in amdgpu_bo_free()
427 int amdgpu_bo_cpu_map(amdgpu_bo_handle bo, void **cpu) in amdgpu_bo_cpu_map()
475 int amdgpu_bo_cpu_unmap(amdgpu_bo_handle bo) in amdgpu_bo_cpu_unmap()
[all …]
Damdgpu_internal.h122 drm_private void amdgpu_bo_free_internal(amdgpu_bo_handle bo);
/external/libdrm/tests/amdgpu/
Damdgpu_test.h107 static inline amdgpu_bo_handle gpu_mem_alloc( in gpu_mem_alloc()
117 amdgpu_bo_handle buf_handle; in gpu_mem_alloc()
142 static inline int gpu_mem_free(amdgpu_bo_handle bo, in gpu_mem_free()
164 amdgpu_bo_handle *bo, void **cpu, uint64_t *mc_address, in amdgpu_bo_alloc_and_map()
168 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_and_map()
215 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free()
228 amdgpu_get_bo_list(amdgpu_device_handle dev, amdgpu_bo_handle bo1, in amdgpu_get_bo_list()
229 amdgpu_bo_handle bo2, amdgpu_bo_list_handle *list) in amdgpu_get_bo_list()
231 amdgpu_bo_handle resources[] = {bo1, bo2}; in amdgpu_get_bo_list()
Dbasic_tests.c119 amdgpu_bo_handle bo; in amdgpu_memory_alloc()
167 amdgpu_bo_handle ib_result_handle, ib_result_ce_handle; in amdgpu_command_submission_gfx_separate_ibs()
255 amdgpu_bo_handle ib_result_handle; in amdgpu_command_submission_gfx_shared_ib()
339 amdgpu_bo_handle ib_result_handle; in amdgpu_command_submission_compute()
414 int res_cnt, amdgpu_bo_handle *resources, in amdgpu_sdma_test_exec_cs()
421 amdgpu_bo_handle ib_result_handle; in amdgpu_sdma_test_exec_cs()
425 amdgpu_bo_handle *all_res = alloca(sizeof(resources[0]) * (res_cnt + 1)); in amdgpu_sdma_test_exec_cs()
493 amdgpu_bo_handle bo; in amdgpu_command_submission_sdma_write_linear()
494 amdgpu_bo_handle *resources; in amdgpu_command_submission_sdma_write_linear()
517 resources = calloc(1, sizeof(amdgpu_bo_handle)); in amdgpu_command_submission_sdma_write_linear()
[all …]
Dcs_tests.c48 static amdgpu_bo_handle ib_handle;
53 static amdgpu_bo_handle resources[MAX_RESOURCES];
69 amdgpu_bo_handle ib_result_handle; in suite_cs_tests_init()
178 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_create()
236 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_decode()
340 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_destroy()
Dbo_tests.c42 static amdgpu_bo_handle buffer_handle;
62 amdgpu_bo_handle buf_handle; in suite_bo_tests_init()
Dvce_tests.c46 amdgpu_bo_handle handle;
70 static amdgpu_bo_handle ib_handle;
76 static amdgpu_bo_handle resources[MAX_RESOURCES];
183 amdgpu_bo_handle buf_handle; in alloc_resource()