Home
last modified time | relevance | path

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

/external/libdrm/tests/amdgpu/
Damdgpu_test.h279 static inline amdgpu_bo_handle gpu_mem_alloc( in gpu_mem_alloc()
289 amdgpu_bo_handle buf_handle = NULL; in gpu_mem_alloc()
331 static inline int gpu_mem_free(amdgpu_bo_handle bo, in gpu_mem_free()
363 amdgpu_bo_handle *bo) in amdgpu_bo_alloc_wrap()
366 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_wrap()
385 uint64_t mapping_flags, amdgpu_bo_handle *bo, void **cpu,
392 amdgpu_bo_handle *bo, void **cpu, uint64_t *mc_address, in amdgpu_bo_alloc_and_map()
400 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free()
413 amdgpu_get_bo_list(amdgpu_device_handle dev, amdgpu_bo_handle bo1, in amdgpu_get_bo_list()
414 amdgpu_bo_handle bo2, amdgpu_bo_list_handle *list) in amdgpu_get_bo_list()
[all …]
Dbo_tests.c39 static amdgpu_bo_handle buffer_handle;
63 amdgpu_bo_handle buf_handle; in suite_bo_tests_init()
202 amdgpu_bo_handle bo; in amdgpu_memory_alloc()
272 amdgpu_bo_handle buf_handle; in amdgpu_mem_fail_alloc()
291 amdgpu_bo_handle bo_handle, find_bo_handle; in amdgpu_bo_find_by_cpu_mapping()
Dbasic_tests.c70 int res_cnt, amdgpu_bo_handle *resources,
560 uint64_t mapping_flags, amdgpu_bo_handle *bo, void **cpu, in amdgpu_bo_alloc_and_map_raw()
565 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_and_map_raw()
707 amdgpu_bo_handle ib_result_handle, ib_result_ce_handle; in amdgpu_command_submission_gfx_separate_ibs()
798 amdgpu_bo_handle ib_result_handle; in amdgpu_command_submission_gfx_shared_ib()
894 amdgpu_bo_handle bo1, bo2, vram_max[2], gtt_max[2]; in amdgpu_bo_eviction_test()
895 amdgpu_bo_handle *resources; in amdgpu_bo_eviction_test()
919 resources = calloc(4, sizeof(amdgpu_bo_handle)); in amdgpu_bo_eviction_test()
1057 amdgpu_bo_handle ib_result_handle[2]; in amdgpu_semaphore_test()
1196 amdgpu_bo_handle ib_result_handle; in amdgpu_command_submission_compute_nop()
[all …]
Dcs_tests.c46 static amdgpu_bo_handle ib_handle;
51 static amdgpu_bo_handle resources[MAX_RESOURCES];
91 amdgpu_bo_handle ib_result_handle; in suite_cs_tests_init()
209 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_create()
279 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_decode()
420 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_destroy()
Dvm_tests.c96 amdgpu_bo_handle ib_result_handle; in amdgpu_vmid_reserve_test()
186 amdgpu_bo_handle buf_handle; in amdgpu_vm_unaligned_map()
228 amdgpu_bo_handle buf; in amdgpu_vm_mapping_test()
Dvcn_tests.c40 amdgpu_bo_handle handle;
66 static amdgpu_bo_handle ib_handle;
71 static amdgpu_bo_handle resources[MAX_RESOURCES];
263 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()
Ddeadlock_tests.c232 amdgpu_bo_handle ib_result_handle; in amdgpu_deadlock_helper()
323 amdgpu_bo_handle ib_result_handle; in amdgpu_deadlock_sdma()
420 amdgpu_bo_handle ib_result_handle; in bad_access_helper()
Dvce_tests.c43 amdgpu_bo_handle handle;
75 static amdgpu_bo_handle ib_handle;
81 static amdgpu_bo_handle resources[MAX_RESOURCES];
243 amdgpu_bo_handle buf_handle; in alloc_resource()
Dsyncobj_tests.c90 amdgpu_bo_handle ib_result_handle; in syncobj_command_submission_helper()
Dsecurity_tests.c369 amdgpu_bo_handle bo; in amdgpu_security_alloc_buf_test()
/external/libdrm/amdgpu/
Damdgpu.h129 typedef struct amdgpu_bo *amdgpu_bo_handle; typedef
240 amdgpu_bo_handle buf_handle;
317 amdgpu_bo_handle handle;
570 amdgpu_bo_handle *buf_handle);
582 int amdgpu_bo_set_metadata(amdgpu_bo_handle buf_handle,
599 int amdgpu_bo_query_info(amdgpu_bo_handle buf_handle,
617 int amdgpu_bo_export(amdgpu_bo_handle buf_handle,
679 amdgpu_bo_handle *buf_handle);
701 amdgpu_bo_handle *buf_handle,
722 int amdgpu_bo_free(amdgpu_bo_handle buf_handle);
[all …]
Damdgpu_bo.c53 amdgpu_bo_handle *buf_handle) in amdgpu_bo_create()
80 amdgpu_bo_handle *buf_handle) in amdgpu_bo_alloc()
111 drm_public int amdgpu_bo_set_metadata(amdgpu_bo_handle bo, in amdgpu_bo_set_metadata()
134 drm_public int amdgpu_bo_query_info(amdgpu_bo_handle bo, in amdgpu_bo_query_info()
185 static int amdgpu_bo_export_flink(amdgpu_bo_handle bo) in amdgpu_bo_export_flink()
228 drm_public int amdgpu_bo_export(amdgpu_bo_handle bo, in amdgpu_bo_export()
395 drm_public int amdgpu_bo_free(amdgpu_bo_handle buf_handle) in amdgpu_bo_free()
428 drm_public void amdgpu_bo_inc_ref(amdgpu_bo_handle bo) in amdgpu_bo_inc_ref()
433 drm_public int amdgpu_bo_cpu_map(amdgpu_bo_handle bo, void **cpu) in amdgpu_bo_cpu_map()
481 drm_public int amdgpu_bo_cpu_unmap(amdgpu_bo_handle bo) in amdgpu_bo_cpu_unmap()
[all …]
/external/igt-gpu-tools/tests/amdgpu/
Damd_basic.c193 static amdgpu_bo_handle gpu_mem_alloc(amdgpu_device_handle device_handle, in gpu_mem_alloc()
207 amdgpu_bo_handle buf_handle; in gpu_mem_alloc()
225 static void gpu_mem_free(amdgpu_bo_handle bo, in gpu_mem_free()
245 amdgpu_bo_handle *bo, void **cpu, uint64_t *mc_address, in amdgpu_bo_alloc_and_map()
254 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_and_map()
296 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free()
306 amdgpu_get_bo_list(amdgpu_device_handle dev, amdgpu_bo_handle bo1, in amdgpu_get_bo_list()
307 amdgpu_bo_handle bo2, amdgpu_bo_list_handle *list) in amdgpu_get_bo_list()
309 amdgpu_bo_handle resources[] = {bo1, bo2}; in amdgpu_get_bo_list()
316 amdgpu_bo_handle bo; in amdgpu_memory_alloc()
[all …]
Damd_prime.c38 amdgpu_bo_handle *bo, void **cpu, uint64_t *mc_address, in amdgpu_bo_alloc_and_map()
47 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_and_map()
89 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free()
123 amdgpu_bo_handle amd_handle;
219 amdgpu_bo_handle ib_result_handle; in i915_to_amd()
249 (amdgpu_bo_handle[]) { in i915_to_amd()
296 amdgpu_bo_handle ib_result_handle; in amd_to_i915()
330 (amdgpu_bo_handle[]) { in amd_to_i915()
403 amdgpu_bo_handle bo; in shrink()
Damd_cs_nop.c36 amdgpu_bo_handle *bo, void **cpu, uint64_t *mc_address, in amdgpu_bo_alloc_and_map()
45 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_and_map()
87 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free()
127 amdgpu_bo_handle ib_result_handle; in nop_cs()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.h54 amdgpu_bo_handle bo;
Dradv_amdgpu_bo.c47 amdgpu_bo_handle bo, in radv_amdgpu_bo_va_op()
353 amdgpu_bo_handle buf_handle; in radv_amdgpu_winsys_bo_create()
552 amdgpu_bo_handle buf_handle; in radv_amdgpu_winsys_bo_from_ptr()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.h93 amdgpu_bo_handle bo; /* NULL for slab entries and sparse buffers */
Damdgpu_cs.h38 amdgpu_bo_handle user_fence_bo;
Damdgpu_bo.c470 amdgpu_bo_handle buf_handle; in amdgpu_create_bo()
1599 amdgpu_bo_handle buf_handle; in amdgpu_bo_from_ptr()
Damdgpu_cs.c288 amdgpu_bo_handle buf_handle; in amdgpu_ctx_create()
/external/mesa3d/src/amd/common/
Dac_gpu_info.c150 amdgpu_bo_handle bo; in has_tmz_support()