/third_party/libdrm/tests/amdgpu/ |
D | amdgpu_test.h | 248 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 …]
|
D | bo_tests.c | 39 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()
|
D | cs_tests.c | 46 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()
|
D | basic_tests.c | 69 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 …]
|
D | vm_tests.c | 96 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()
|
D | vcn_tests.c | 40 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()
|
D | uvd_enc_tests.c | 41 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()
|
D | deadlock_tests.c | 222 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()
|
D | vce_tests.c | 43 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()
|
D | syncobj_tests.c | 90 amdgpu_bo_handle ib_result_handle; in syncobj_command_submission_helper()
|
/third_party/libdrm/amdgpu/ |
D | amdgpu.h | 129 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 …]
|
D | amdgpu_bo.c | 53 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/ |
D | radv_amdgpu_bo.h | 52 amdgpu_bo_handle bo;
|
D | radv_amdgpu_bo.c | 48 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/ |
D | amdgpu_bo.h | 95 amdgpu_bo_handle bo; /* NULL for slab entries and sparse buffers */
|
D | amdgpu_cs.h | 44 amdgpu_bo_handle user_fence_bo;
|
D | amdgpu_bo.c | 480 amdgpu_bo_handle buf_handle; in amdgpu_create_bo() 1697 amdgpu_bo_handle buf_handle; in amdgpu_bo_from_ptr()
|
D | amdgpu_cs.c | 286 amdgpu_bo_handle buf_handle; in amdgpu_ctx_create()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_gpu_info.c | 98 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()
|