Home
last modified time | relevance | path

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

/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;
583 amdgpu_bo_handle *buf_handle);
595 int amdgpu_bo_set_metadata(amdgpu_bo_handle buf_handle,
612 int amdgpu_bo_query_info(amdgpu_bo_handle buf_handle,
630 int amdgpu_bo_export(amdgpu_bo_handle buf_handle,
692 amdgpu_bo_handle *buf_handle);
714 amdgpu_bo_handle *buf_handle,
735 int amdgpu_bo_free(amdgpu_bo_handle buf_handle);
[all …]
Damdgpu_bo.c45 amdgpu_bo_handle *buf_handle) in amdgpu_bo_create()
72 amdgpu_bo_handle *buf_handle) in amdgpu_bo_alloc()
103 drm_public int amdgpu_bo_set_metadata(amdgpu_bo_handle bo, in amdgpu_bo_set_metadata()
126 drm_public int amdgpu_bo_query_info(amdgpu_bo_handle bo, in amdgpu_bo_query_info()
177 static int amdgpu_bo_export_flink(amdgpu_bo_handle bo) in amdgpu_bo_export_flink()
220 drm_public int amdgpu_bo_export(amdgpu_bo_handle bo, in amdgpu_bo_export()
387 drm_public int amdgpu_bo_free(amdgpu_bo_handle buf_handle) in amdgpu_bo_free()
420 drm_public void amdgpu_bo_inc_ref(amdgpu_bo_handle bo) in amdgpu_bo_inc_ref()
425 drm_public int amdgpu_bo_cpu_map(amdgpu_bo_handle bo, void **cpu) in amdgpu_bo_cpu_map()
473 drm_public int amdgpu_bo_cpu_unmap(amdgpu_bo_handle bo) in amdgpu_bo_cpu_unmap()
[all …]
/third_party/libdrm/tests/amdgpu/
Damdgpu_test.h343 static inline amdgpu_bo_handle gpu_mem_alloc( in gpu_mem_alloc()
353 amdgpu_bo_handle buf_handle = NULL; in gpu_mem_alloc()
395 static inline int gpu_mem_free(amdgpu_bo_handle bo, in gpu_mem_free()
427 amdgpu_bo_handle *bo) in amdgpu_bo_alloc_wrap()
430 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_wrap()
449 uint64_t mapping_flags, amdgpu_bo_handle *bo, void **cpu,
456 amdgpu_bo_handle *bo, void **cpu, uint64_t *mc_address, in amdgpu_bo_alloc_and_map()
464 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free()
477 amdgpu_get_bo_list(amdgpu_device_handle dev, amdgpu_bo_handle bo1, in amdgpu_get_bo_list()
478 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];
90 amdgpu_bo_handle ib_result_handle; in suite_cs_tests_init()
208 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_create()
278 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_decode()
419 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_destroy()
Dbasic_tests.c73 int res_cnt, amdgpu_bo_handle *resources,
700 uint64_t mapping_flags, amdgpu_bo_handle *bo, void **cpu, in amdgpu_bo_alloc_and_map_raw()
705 amdgpu_bo_handle buf_handle; in amdgpu_bo_alloc_and_map_raw()
849 amdgpu_bo_handle ib_result_handle, ib_result_ce_handle; in amdgpu_command_submission_gfx_separate_ibs()
940 amdgpu_bo_handle ib_result_handle; in amdgpu_command_submission_gfx_shared_ib()
1036 amdgpu_bo_handle bo1, bo2, vram_max[2], gtt_max[2]; in amdgpu_bo_eviction_test()
1037 amdgpu_bo_handle *resources; in amdgpu_bo_eviction_test()
1061 resources = calloc(4, sizeof(amdgpu_bo_handle)); in amdgpu_bo_eviction_test()
1199 amdgpu_bo_handle ib_result_handle[2]; in amdgpu_semaphore_test()
1346 amdgpu_bo_handle ib_result_handle; in amdgpu_command_submission_compute_nop()
[all …]
Dvm_tests.c99 amdgpu_bo_handle ib_result_handle; in amdgpu_vmid_reserve_test()
193 amdgpu_bo_handle buf_handle; in amdgpu_vm_unaligned_map()
235 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];
239 amdgpu_bo_handle buf_handle; in alloc_resource()
Dcp_dma_tests.c52 static amdgpu_bo_handle ib_handle;
58 static amdgpu_bo_handle resources[MAX_RESOURCES];
83 amdgpu_bo_handle buf_handle;
94 amdgpu_bo_handle buf_handle; in allocate_bo_and_va()
Dhotunplug_tests.c187 amdgpu_bo_handle ib_result_handle; in amdgpu_nop_cs()
309 amdgpu_bo_handle bo_handle; in amdgpu_hotunplug_with_exported_bo()
349 amdgpu_bo_handle ib_result_handle; in amdgpu_hotunplug_with_exported_fence()
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()
Djpeg_tests.c113 amdgpu_bo_handle handle;
131 static amdgpu_bo_handle ib_handle;
137 static amdgpu_bo_handle resources[MAX_RESOURCES];
281 amdgpu_bo_handle buf_handle; in alloc_resource()
Ddeadlock_tests.c240 amdgpu_bo_handle ib_result_handle; in amdgpu_deadlock_helper()
331 amdgpu_bo_handle ib_result_handle; in amdgpu_deadlock_sdma()
428 amdgpu_bo_handle ib_result_handle; in bad_access_helper()
Damdgpu_stress.c141 amdgpu_bo_handle resources[NUM_BUFFER_OBJECTS];
149 amdgpu_bo_handle bo; in alloc_bo()
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.c94 amdgpu_bo_handle ib_result_handle; in syncobj_command_submission_helper()
Dsecurity_tests.c369 amdgpu_bo_handle bo; in amdgpu_security_alloc_buf_test()
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.h51 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()
380 amdgpu_bo_handle buf_handle; in radv_amdgpu_winsys_bo_create()
609 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.c477 amdgpu_bo_handle buf_handle; in amdgpu_create_bo()
1668 amdgpu_bo_handle buf_handle; in amdgpu_bo_from_ptr()
Damdgpu_cs.c300 amdgpu_bo_handle buf_handle; in amdgpu_ctx_create()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c204 typedef struct amdgpu_bo *amdgpu_bo_handle; typedef
258 amdgpu_bo_handle *buf_handle) in amdgpu_bo_alloc()
262 static int amdgpu_bo_free(amdgpu_bo_handle buf_handle) in amdgpu_bo_free()
409 amdgpu_bo_handle bo; in has_tmz_support()