Home
last modified time | relevance | path

Searched refs:amdgpu_bo_cpu_map (Results 1 – 16 of 16) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Dvcn_tests.c260 r = amdgpu_bo_cpu_map(vcn_bo->handle, (void **)&vcn_bo->ptr); in alloc_resource()
303 r = amdgpu_bo_cpu_map(msg_buf.handle, (void **)&msg_buf.ptr); in amdgpu_cs_vcn_dec_create()
347 r = amdgpu_bo_cpu_map(dec_buf.handle, (void **)&dec_buf.ptr); in amdgpu_cs_vcn_dec_decode()
413 r = amdgpu_bo_cpu_map(msg_buf.handle, (void **)&msg_buf.ptr); in amdgpu_cs_vcn_dec_destroy()
Dcp_dma_tests.c292 r = amdgpu_bo_cpu_map(src_bo.buf_handle, (void **)&src_bo_cpu); in amdgpu_cp_dma()
304 r = amdgpu_bo_cpu_map(dst_bo.buf_handle, (void **)&dst_bo_cpu); in amdgpu_cp_dma()
346 r = amdgpu_bo_cpu_map(exported_bo.buf_handle, (void **)&exported_bo_cpu); in amdgpu_cp_dma_p2p()
374 r = amdgpu_bo_cpu_map(src_bo.buf_handle, (void **)&src_bo_cpu); in amdgpu_cp_dma_p2p()
Dvce_tests.c264 r = amdgpu_bo_cpu_map(vce_bo->handle, (void **)&vce_bo->ptr); in alloc_resource()
471 r = amdgpu_bo_cpu_map(enc->fb[i].handle, (void **)&enc->fb[i].ptr); in check_result()
477 r = amdgpu_bo_cpu_map(enc->bs[i].handle, (void **)&enc->bs[i].ptr); in check_result()
510 r = amdgpu_bo_cpu_map(enc.vbuf.handle, (void **)&enc.vbuf.ptr); in amdgpu_cs_vce_encode()
655 r = amdgpu_bo_cpu_map(enc->fb[0].handle, (void **)&enc->fb[0].ptr); in check_mv_result()
659 r = amdgpu_bo_cpu_map(enc->mvb.handle, (void **)&enc->mvb.ptr); in check_mv_result()
692 r = amdgpu_bo_cpu_map(enc.vbuf.handle, (void **)&enc.vbuf.ptr); in amdgpu_cs_vce_encode_mv()
708 r = amdgpu_bo_cpu_map(enc.mvrefbuf.handle, (void **)&enc.mvrefbuf.ptr); in amdgpu_cs_vce_encode_mv()
Duvd_enc_tests.c221 r = amdgpu_bo_cpu_map(uvd_enc_bo->handle, (void **)&uvd_enc_bo->ptr); in alloc_resource()
262 r = amdgpu_bo_cpu_map(enc->fb.handle, (void **)&enc->fb.ptr); in check_result()
268 r = amdgpu_bo_cpu_map(enc->bs.handle, (void **)&enc->bs.ptr); in check_result()
349 r = amdgpu_bo_cpu_map(enc.vbuf.handle, (void **)&enc.vbuf.ptr); in amdgpu_cs_uvd_enc_encode()
Dcs_tests.c229 r = amdgpu_bo_cpu_map(buf_handle, &msg); in amdgpu_cs_uvd_create()
308 r = amdgpu_bo_cpu_map(buf_handle, (void **)&ptr); in amdgpu_cs_uvd_decode()
441 r = amdgpu_bo_cpu_map(buf_handle, &msg); in amdgpu_cs_uvd_destroy()
Djpeg_tests.c299 r = amdgpu_bo_cpu_map(jpeg_bo->handle, (void **)&jpeg_bo->ptr); in alloc_resource()
544 r = amdgpu_bo_cpu_map(dec_buf.handle, (void **)&dec_buf.ptr); in amdgpu_cs_jpeg_decode()
562 r = amdgpu_bo_cpu_map(dec_buf.handle, (void **)&dec_buf.ptr); in amdgpu_cs_jpeg_decode()
Dbo_tests.c189 r = amdgpu_bo_cpu_map(buffer_handle, (void **)&ptr); in amdgpu_bo_map_unmap()
Damdgpu_stress.c355 r = amdgpu_bo_cpu_map(resources[0], (void **)&pm4); in main()
Dbasic_tests.c735 r = amdgpu_bo_cpu_map(buf_handle, cpu); in amdgpu_bo_alloc_and_map_raw()
/third_party/libdrm/amdgpu/
Damdgpu-symbols.txt2 amdgpu_bo_cpu_map
Damdgpu.h759 int amdgpu_bo_cpu_map(amdgpu_bo_handle buf_handle, void **cpu);
Damdgpu_bo.c425 drm_public int amdgpu_bo_cpu_map(amdgpu_bo_handle bo, void **cpu) in amdgpu_bo_cpu_map() function
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c253 int r = amdgpu_bo_cpu_map(bo->bo, cpu); in amdgpu_bo_do_map()
257 r = amdgpu_bo_cpu_map(bo->bo, cpu); in amdgpu_bo_do_map()
Damdgpu_cs.c325 r = amdgpu_bo_cpu_map(buf_handle, (void**)&ctx->user_fence_cpu_address_base); in amdgpu_ctx_create()
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c1479 if (amdgpu_bo_cpu_map(bo->bo, &ret) == 0) in radv_amdgpu_winsys_get_cpu_addr()
1487 if (amdgpu_bo_cpu_map(bo->bo, &ret) == 0) { in radv_amdgpu_winsys_get_cpu_addr()
Dradv_amdgpu_bo.c569 ret = amdgpu_bo_cpu_map(bo->bo, &data); in radv_amdgpu_winsys_bo_map()