| /xsrc/external/mit/libdrm/dist/tests/amdgpu/ |
| H A D | cp_dma_tests.c | 83 amdgpu_bo_handle buf_handle; member in struct:amdgpu_cp_dma_bo 94 amdgpu_bo_handle buf_handle; local in function:allocate_bo_and_va 104 r = amdgpu_bo_alloc(dev, &request, &buf_handle); 114 r = amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, 122 bo->buf_handle = buf_handle; 130 amdgpu_bo_va_op(buf_handle, 0, 137 amdgpu_bo_free(buf_handle); 160 r = amdgpu_bo_va_op(bo_import_result.buf_handle, 0, 169 bo->buf_handle [all...] |
| H A D | cs_tests.c | 208 amdgpu_bo_handle buf_handle; local in function:amdgpu_cs_uvd_create 217 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 226 r = amdgpu_bo_va_op(buf_handle, 0, 4096, va, 0, AMDGPU_VA_OP_MAP); 229 r = amdgpu_bo_cpu_map(buf_handle, &msg); 248 r = amdgpu_bo_cpu_unmap(buf_handle); 252 resources[num_resources++] = buf_handle; 263 r = amdgpu_bo_va_op(buf_handle, 0, 4096, va, 0, AMDGPU_VA_OP_UNMAP); 269 r = amdgpu_bo_free(buf_handle); 278 amdgpu_bo_handle buf_handle; local in function:amdgpu_cs_uvd_decode 295 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 419 amdgpu_bo_handle buf_handle; local in function:amdgpu_cs_uvd_destroy [all...] |
| H A D | bo_tests.c | 63 amdgpu_bo_handle buf_handle; local in function:suite_bo_tests_init 82 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 93 r = amdgpu_bo_va_op(buf_handle, 0, BUFFER_SIZE, va, 0, AMDGPU_VA_OP_MAP); 97 buffer_handle = buf_handle; 106 amdgpu_bo_free(buf_handle); 147 CU_ASSERT_EQUAL(res.buf_handle, buffer_handle); 150 r = amdgpu_bo_free(res.buf_handle); 272 amdgpu_bo_handle buf_handle; local in function:amdgpu_mem_fail_alloc 280 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 284 r = amdgpu_bo_free(buf_handle); [all...] |
| H A D | amdgpu_test.h | 352 amdgpu_bo_handle buf_handle = NULL; local in function:gpu_mem_alloc 360 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 374 r = amdgpu_bo_va_op(buf_handle, 0, size, *vmc_addr, 0, 381 return buf_handle; 388 r = amdgpu_bo_free(buf_handle); 429 amdgpu_bo_handle buf_handle; local in function:amdgpu_bo_alloc_wrap 437 r = amdgpu_bo_alloc(dev, &request, &buf_handle); 441 *bo = buf_handle;
|
| H A D | vm_tests.c | 193 amdgpu_bo_handle buf_handle; local in function:amdgpu_vm_unaligned_map 203 r = amdgpu_bo_alloc(device_handle, &request, &buf_handle); 217 r = amdgpu_bo_va_op(buf_handle, 0, map_size, vmc_addr, 0, 223 amdgpu_bo_va_op(buf_handle, 0, map_size, vmc_addr, 0, 227 amdgpu_bo_free(buf_handle);
|
| H A D | jpeg_tests.c | 281 amdgpu_bo_handle buf_handle; local in function:alloc_resource 288 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 293 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, AMDGPU_VA_OP_MAP); 296 jpeg_bo->handle = buf_handle;
|
| H A D | uvd_enc_tests.c | 200 amdgpu_bo_handle buf_handle; local in function:alloc_resource 207 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 214 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, 218 uvd_enc_bo->handle = buf_handle;
|
| H A D | basic_tests.c | 705 amdgpu_bo_handle buf_handle; local in function:amdgpu_bo_alloc_and_map_raw 715 r = amdgpu_bo_alloc(dev, &request, &buf_handle); 726 r = amdgpu_bo_va_op_raw(dev, buf_handle, 0, ALIGN(size, getpagesize()), vmc_addr, 735 r = amdgpu_bo_cpu_map(buf_handle, cpu); 739 *bo = buf_handle; 746 amdgpu_bo_cpu_unmap(buf_handle); 749 amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, 0, AMDGPU_VA_OP_UNMAP); 752 amdgpu_bo_free(buf_handle); 2191 amdgpu_bo_handle buf_handle; local in function:amdgpu_userptr_test 2211 ptr, BUFFER_SIZE, &buf_handle); [all...] |
| H A D | vce_tests.c | 242 amdgpu_bo_handle buf_handle; local in function:alloc_resource 249 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 256 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, 260 vce_bo->handle = buf_handle;
|
| H A D | vcn_tests.c | 430 amdgpu_bo_handle buf_handle; local in function:alloc_resource 437 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 444 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, 448 vcn_bo->handle = buf_handle;
|
| /xsrc/external/mit/libdrm/dist/amdgpu/ |
| H A D | amdgpu.h | 249 amdgpu_bo_handle buf_handle; member in struct:amdgpu_bo_import_result 597 * \param buf_handle - \c [out] Allocated buffer handle 606 amdgpu_bo_handle *buf_handle); 612 * \param buf_handle - \c [in] Buffer handle 618 int amdgpu_bo_set_metadata(amdgpu_bo_handle buf_handle, 627 * \param buf_handle - \c [in] Buffer handle 635 int amdgpu_bo_query_info(amdgpu_bo_handle buf_handle, 643 * \param buf_handle - \c [in] Buffer handle 653 int amdgpu_bo_export(amdgpu_bo_handle buf_handle, 690 * \param buf_handle [all...] |
| H A D | amdgpu_bo.c | 45 amdgpu_bo_handle *buf_handle) 66 *buf_handle = bo; 72 amdgpu_bo_handle *buf_handle) 93 buf_handle); 312 output->buf_handle = bo; 369 output->buf_handle = bo; 387 drm_public int amdgpu_bo_free(amdgpu_bo_handle buf_handle) argument 390 struct amdgpu_bo *bo = buf_handle; 533 amdgpu_bo_handle *buf_handle, 560 *buf_handle 42 amdgpu_bo_create(amdgpu_device_handle dev,uint64_t size,uint32_t handle,amdgpu_bo_handle * buf_handle) argument 70 amdgpu_bo_alloc(amdgpu_device_handle dev,struct amdgpu_bo_alloc_request * alloc_buffer,amdgpu_bo_handle * buf_handle) argument 530 amdgpu_find_bo_by_cpu_mapping(amdgpu_device_handle dev,void * cpu,uint64_t size,amdgpu_bo_handle * buf_handle,uint64_t * offset_in_bo) argument 572 amdgpu_create_bo_from_user_mem(amdgpu_device_handle dev,void * cpu,uint64_t size,amdgpu_bo_handle * buf_handle) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/winsys/amdgpu/ |
| H A D | radv_amdgpu_bo.c | 311 amdgpu_bo_handle buf_handle; local in function:radv_amdgpu_winsys_bo_create 380 r = amdgpu_bo_alloc(ws->dev, &request, &buf_handle); 389 r = radv_amdgpu_bo_va_op(ws, buf_handle, 0, size, va, flags, 394 bo->bo = buf_handle; 399 r = amdgpu_bo_export(buf_handle, amdgpu_bo_handle_type_kms, &bo->bo_handle); 415 amdgpu_bo_free(buf_handle); 473 amdgpu_bo_handle buf_handle; local in function:radv_amdgpu_winsys_bo_from_ptr 483 if (amdgpu_create_bo_from_user_mem(ws->dev, pointer, size, &buf_handle)) 497 if (amdgpu_bo_va_op(buf_handle, 0, size, va, 0, AMDGPU_VA_OP_MAP)) 506 bo->bo = buf_handle; [all...] |
| /xsrc/external/mit/xf86-video-amdgpu/dist/src/ |
| H A D | amdgpu_bo_helper.h | 73 * \param buf_handle - \c [in] amdgpu bo handle 80 int amdgpu_query_bo_size(amdgpu_bo_handle buf_handle, uint32_t *size);
|
| H A D | amdgpu_bo_helper.c | 343 int amdgpu_query_bo_size(amdgpu_bo_handle buf_handle, uint32_t *size) argument 349 ret = amdgpu_bo_query_info(buf_handle, &buffer_info); 395 bo->bo.amdgpu = buffer.buf_handle;
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/winsys/amdgpu/ |
| H A D | radv_amdgpu_bo.c | 404 amdgpu_bo_handle buf_handle; local in function:radv_amdgpu_winsys_bo_create 518 r = amdgpu_bo_alloc(ws->dev, &request, &buf_handle); 528 r = radv_amdgpu_bo_va_op(ws, buf_handle, 0, size, va, flags, 0, AMDGPU_VA_OP_MAP); 534 bo->bo = buf_handle; 540 r = amdgpu_bo_export(buf_handle, amdgpu_bo_handle_type_kms, &bo->bo_handle); 569 amdgpu_bo_free(buf_handle); 628 amdgpu_bo_handle buf_handle; local in function:radv_amdgpu_winsys_bo_from_ptr 643 if (amdgpu_create_bo_from_user_mem(ws->dev, pointer, size, &buf_handle)) { 659 if (amdgpu_bo_va_op(buf_handle, 0, size, va, 0, AMDGPU_VA_OP_MAP)) { 669 bo->bo = buf_handle; [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/amdgpu/drm/ |
| H A D | amdgpu_bo.c | 458 amdgpu_bo_handle buf_handle; local in function:amdgpu_create_bo 511 r = amdgpu_bo_alloc(ws->dev, &request, &buf_handle); 538 r = amdgpu_bo_va_op_raw(ws->dev, buf_handle, 0, size, va, vm_flags, 551 bo->bo = buf_handle; 573 amdgpu_bo_free(buf_handle); 1439 bo = util_hash_table_get(ws->bo_export_table, result.buf_handle); 1452 amdgpu_bo_free(result.buf_handle); 1457 r = amdgpu_bo_query_info(result.buf_handle, &info); 1473 r = amdgpu_bo_va_op(result.buf_handle, 0, result.alloc_size, va, 0, AMDGPU_VA_OP_MAP); 1486 bo->bo = result.buf_handle; 1569 amdgpu_bo_handle buf_handle; local in function:amdgpu_bo_from_ptr [all...] |
| H A D | amdgpu_cs.c | 290 amdgpu_bo_handle buf_handle; local in function:amdgpu_ctx_create 309 r = amdgpu_bo_alloc(ctx->ws->dev, &alloc_buffer, &buf_handle); 315 r = amdgpu_bo_cpu_map(buf_handle, (void**)&ctx->user_fence_cpu_address_base); 322 ctx->user_fence_bo = buf_handle; 327 amdgpu_bo_free(buf_handle);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/amdgpu/drm/ |
| H A D | amdgpu_bo.c | 480 amdgpu_bo_handle buf_handle; local in function:amdgpu_create_bo 550 r = amdgpu_bo_alloc(ws->dev, &request, &buf_handle); 580 r = amdgpu_bo_va_op_raw(ws->dev, buf_handle, 0, size, va, vm_flags, 591 bo->bo = buf_handle; 613 amdgpu_bo_free(buf_handle); 1526 bo = util_hash_table_get(ws->bo_export_table, result.buf_handle); 1539 amdgpu_bo_free(result.buf_handle); 1544 r = amdgpu_bo_query_info(result.buf_handle, &info); 1560 r = amdgpu_bo_va_op(result.buf_handle, 0, result.alloc_size, va, 0, AMDGPU_VA_OP_MAP); 1584 bo->bo = result.buf_handle; 1697 amdgpu_bo_handle buf_handle; local in function:amdgpu_bo_from_ptr [all...] |
| H A D | amdgpu_cs.c | 286 amdgpu_bo_handle buf_handle; local in function:amdgpu_ctx_create 305 r = amdgpu_bo_alloc(ctx->ws->dev, &alloc_buffer, &buf_handle); 311 r = amdgpu_bo_cpu_map(buf_handle, (void**)&ctx->user_fence_cpu_address_base); 318 ctx->user_fence_bo = buf_handle; 323 amdgpu_bo_free(buf_handle);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | bufferobj.h | 84 struct gl_buffer_object **buf_handle,
|
| H A D | bufferobj.c | 974 struct gl_buffer_object **buf_handle, 977 struct gl_buffer_object *buf = *buf_handle; 994 *buf_handle = buf; 972 _mesa_handle_bind_buffer_gen(struct gl_context * ctx,GLuint buffer,struct gl_buffer_object ** buf_handle,const char * caller) argument
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | bufferobj.h | 73 struct gl_buffer_object **buf_handle,
|
| H A D | bufferobj.c | 1068 struct gl_buffer_object **buf_handle, 1071 struct gl_buffer_object *buf = *buf_handle; 1082 *buf_handle = new_gl_buffer_object(ctx, buffer); 1083 if (!*buf_handle) { 1090 *buf_handle, buf != NULL); 1066 _mesa_handle_bind_buffer_gen(struct gl_context * ctx,GLuint buffer,struct gl_buffer_object ** buf_handle,const char * caller) argument
|
| /xsrc/external/mit/MesaLib/dist/src/amd/common/ |
| H A D | ac_gpu_info.c | 152 amdgpu_bo_handle *buf_handle) 156 static int amdgpu_bo_free(amdgpu_bo_handle buf_handle) argument 150 amdgpu_bo_alloc(amdgpu_device_handle dev,struct amdgpu_bo_alloc_request * alloc_buffer,amdgpu_bo_handle * buf_handle) argument
|