Home
last modified time | relevance | path

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

/external/libdrm/tests/amdgpu/
Dvcn_tests.c284 r = amdgpu_bo_cpu_map(vcn_bo->handle, (void **)&vcn_bo->ptr); in alloc_resource()
327 r = amdgpu_bo_cpu_map(msg_buf.handle, (void **)&msg_buf.ptr); in amdgpu_cs_vcn_dec_create()
371 r = amdgpu_bo_cpu_map(dec_buf.handle, (void **)&dec_buf.ptr); in amdgpu_cs_vcn_dec_decode()
437 r = amdgpu_bo_cpu_map(msg_buf.handle, (void **)&msg_buf.ptr); in amdgpu_cs_vcn_dec_destroy()
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()
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.c599 r = amdgpu_bo_cpu_map(buf_handle, cpu); in amdgpu_bo_alloc_and_map_raw()
/external/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
/external/igt-gpu-tools/tests/amdgpu/
Damd_cs_nop.c65 r = amdgpu_bo_cpu_map(buf_handle, cpu); in amdgpu_bo_alloc_and_map()
Damd_prime.c67 r = amdgpu_bo_cpu_map(buf_handle, cpu); in amdgpu_bo_alloc_and_map()
Damd_basic.c274 r = amdgpu_bo_cpu_map(buf_handle, cpu); in amdgpu_bo_alloc_and_map()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c251 int r = amdgpu_bo_cpu_map(bo->bo, cpu); in amdgpu_bo_do_map()
255 r = amdgpu_bo_cpu_map(bo->bo, cpu); in amdgpu_bo_do_map()
Damdgpu_cs.c313 r = amdgpu_bo_cpu_map(buf_handle, (void**)&ctx->user_fence_cpu_address_base); in amdgpu_ctx_create()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c1308 if (amdgpu_bo_cpu_map(bo->bo, &ret) == 0) in radv_amdgpu_winsys_get_cpu_addr()
1317 if (amdgpu_bo_cpu_map(bo->bo, &ret) == 0) { in radv_amdgpu_winsys_get_cpu_addr()
Dradv_amdgpu_bo.c510 ret = amdgpu_bo_cpu_map(bo->bo, &data); in radv_amdgpu_winsys_bo_map()