Home
last modified time | relevance | path

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

/third_party/libdrm/tests/amdgpu/
Damdgpu_test.h248 static inline amdgpu_bo_handle gpu_mem_alloc( in gpu_mem_alloc()
258 amdgpu_bo_handle buf_handle = NULL; in gpu_mem_alloc()
300 static inline int gpu_mem_free(amdgpu_bo_handle bo, in gpu_mem_free()
332 amdgpu_bo_handle *bo) in amdgpu_bo_alloc_wrap()
335 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_wrap()
354 uint64_t mapping_flags, amdgpu_bo_handle *bo, void **cpu,
361 amdgpu_bo_handle *bo, void **cpu, uint64_t *mc_address, in amdgpu_bo_alloc_and_map()
369 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free()
382 amdgpu_get_bo_list(amdgpu_device_handle dev, amdgpu_bo_handle bo1, in amdgpu_get_bo_list()
383 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()
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()
416 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_destroy()
Dbasic_tests.c69 int res_cnt, amdgpu_bo_handle *resources,
531 uint64_t mapping_flags, amdgpu_bo_handle *bo, void **cpu, in amdgpu_bo_alloc_and_map_raw()
536 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_and_map_raw()
641 amdgpu_bo_handle ib_result_handle, ib_result_ce_handle; in amdgpu_command_submission_gfx_separate_ibs()
732 amdgpu_bo_handle ib_result_handle; in amdgpu_command_submission_gfx_shared_ib()
828 amdgpu_bo_handle bo1, bo2, vram_max[2], gtt_max[2]; in amdgpu_bo_eviction_test()
829 amdgpu_bo_handle *resources; in amdgpu_bo_eviction_test()
853 resources = calloc(4, sizeof(amdgpu_bo_handle)); in amdgpu_bo_eviction_test()
991 amdgpu_bo_handle ib_result_handle[2]; in amdgpu_semaphore_test()
1130 amdgpu_bo_handle ib_result_handle; in amdgpu_command_submission_compute_nop()
[all …]
Dvm_tests.c96 amdgpu_bo_handle ib_result_handle; in amdgpu_vmid_reserve_test()
178 amdgpu_bo_handle buf_handle; in amdgpu_vm_unaligned_map()
220 amdgpu_bo_handle buf; in amdgpu_vm_mapping_test()
Dvcn_tests.c40 amdgpu_bo_handle handle;
62 static amdgpu_bo_handle ib_handle;
67 static amdgpu_bo_handle resources[MAX_RESOURCES];
228 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.c222 amdgpu_bo_handle ib_result_handle; in amdgpu_deadlock_helper()
313 amdgpu_bo_handle ib_result_handle; in amdgpu_deadlock_sdma()
410 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];
241 amdgpu_bo_handle buf_handle; in alloc_resource()
Dsyncobj_tests.c90 amdgpu_bo_handle ib_result_handle; in syncobj_command_submission_helper()
/third_party/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 …]
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.h52 amdgpu_bo_handle bo;
Dradv_amdgpu_bo.c48 radv_amdgpu_bo_va_op(struct radv_amdgpu_winsys *ws, amdgpu_bo_handle bo, uint64_t offset, in radv_amdgpu_bo_va_op()
404 amdgpu_bo_handle buf_handle; in radv_amdgpu_winsys_bo_create()
628 amdgpu_bo_handle buf_handle; in radv_amdgpu_winsys_bo_from_ptr()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.h95 amdgpu_bo_handle bo; /* NULL for slab entries and sparse buffers */
Damdgpu_cs.h44 amdgpu_bo_handle user_fence_bo;
Damdgpu_bo.c480 amdgpu_bo_handle buf_handle; in amdgpu_create_bo()
1697 amdgpu_bo_handle buf_handle; in amdgpu_bo_from_ptr()
Damdgpu_cs.c286 amdgpu_bo_handle buf_handle; in amdgpu_ctx_create()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c98 typedef struct amdgpu_bo *amdgpu_bo_handle; typedef
152 amdgpu_bo_handle *buf_handle) in amdgpu_bo_alloc()
156 static int amdgpu_bo_free(amdgpu_bo_handle buf_handle) in amdgpu_bo_free()
305 amdgpu_bo_handle bo; in has_tmz_support()