/third_party/libdrm/tests/amdgpu/ |
D | cp_dma_tests.c | 258 static void cp_dma_cmd(struct amdgpu_cp_dma_bo src_bo, in cp_dma_cmd() argument 264 ib_cpu[2] = src_bo.gpu_va & 0x00000000ffffffff; in cp_dma_cmd() 265 ib_cpu[3] = (src_bo.gpu_va & 0xffffffff00000000) >> 32; in cp_dma_cmd() 274 resources[0] = src_bo.buf_handle; in cp_dma_cmd() 282 struct amdgpu_cp_dma_bo src_bo = {0}; in amdgpu_cp_dma() local 289 src_heap, AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED, &src_bo); in amdgpu_cp_dma() 292 r = amdgpu_bo_cpu_map(src_bo.buf_handle, (void **)&src_bo_cpu); in amdgpu_cp_dma() 296 r = amdgpu_bo_cpu_unmap(src_bo.buf_handle); in amdgpu_cp_dma() 311 cp_dma_cmd(src_bo, dst_bo); in amdgpu_cp_dma() 322 r = free_bo(src_bo); in amdgpu_cp_dma() [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_buffer.c | 232 struct radeon_winsys_bo *src_bo, struct radeon_winsys_bo *dst_bo) in radv_prefer_compute_dma() argument 238 if ((src_bo && !(src_bo->initial_domain & RADEON_DOMAIN_VRAM)) || in radv_prefer_compute_dma() 276 radv_copy_buffer(struct radv_cmd_buffer *cmd_buffer, struct radeon_winsys_bo *src_bo, in radv_copy_buffer() argument 281 radv_prefer_compute_dma(cmd_buffer->device, size, src_bo, dst_bo); in radv_copy_buffer() 283 uint64_t src_va = radv_buffer_get_va(src_bo) + src_offset; in radv_copy_buffer() 286 radv_cs_add_buffer(cmd_buffer->device->ws, cmd_buffer->cs, src_bo); in radv_copy_buffer()
|
D | radv_query.c | 966 struct radeon_winsys_bo *src_bo, struct radeon_winsys_bo *dst_bo, in radv_query_shader() argument 993 radv_buffer_init(&src_buffer, device, src_bo, src_buffer_size, src_offset); in radv_query_shader()
|
D | radv_private.h | 1769 void radv_copy_buffer(struct radv_cmd_buffer *cmd_buffer, struct radeon_winsys_bo *src_bo,
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_queue.c | 369 struct v3dv_bo *src_bo = info->buffer->mem->bo; in handle_copy_buffer_to_image_cpu_job() local 370 assert(!src_bo->map || src_bo->map_size == src_bo->size); in handle_copy_buffer_to_image_cpu_job() 371 if (!src_bo->map && !v3dv_bo_map(job->device, src_bo, src_bo->size)) in handle_copy_buffer_to_image_cpu_job() 373 void *src_ptr = src_bo->map; in handle_copy_buffer_to_image_cpu_job()
|
D | v3dv_meta_copy.c | 1232 struct v3dv_bo *src_bo = in v3dv_CmdUpdateBuffer() local 1234 if (!src_bo) { in v3dv_CmdUpdateBuffer() 1239 bool ok = v3dv_bo_map(cmd_buffer->device, src_bo, src_bo->size); in v3dv_CmdUpdateBuffer() 1247 memcpy(src_bo->map, pData, dataSize); in v3dv_CmdUpdateBuffer() 1249 v3dv_bo_unmap(cmd_buffer->device, src_bo); in v3dv_CmdUpdateBuffer() 1260 src_bo, 0, ®ion); in v3dv_CmdUpdateBuffer() 1264 cmd_buffer, (uint64_t)(uintptr_t)src_bo, destroy_update_buffer_cb); in v3dv_CmdUpdateBuffer() 1377 const struct v3dv_bo *src_bo = buffer->mem->bo; in copy_buffer_to_image_tfu() local 1391 const uint32_t src_offset = src_bo->offset + buffer_offset; in copy_buffer_to_image_tfu() 1403 src_bo->handle, in copy_buffer_to_image_tfu()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_screen.h | 103 struct iris_bo *src_bo, uint32_t src_offset,
|
D | iris_state.c | 604 struct iris_bo *src_bo, uint32_t src_offset, in iris_copy_mem_mem() argument 617 cp.SourceMemoryAddress = ro_bo(src_bo, src_offset + i); in iris_copy_mem_mem()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_screen.h | 106 struct crocus_bo *src_bo, uint32_t src_offset,
|
D | crocus_state.c | 631 struct crocus_bo *src_bo, uint32_t src_offset, in crocus_copy_mem_mem() argument 641 src_bo, src_offset + i); in crocus_copy_mem_mem()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.c | 1165 struct fd_bo *src_bo = fd_resource(src)->bo; in fd5_mem_to_mem() local 1173 OUT_RELOC(ring, src_bo, src_off, 0, 0); in fd5_mem_to_mem()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.c | 1104 struct fd_bo *src_bo = fd_resource(src)->bo; in fd4_mem_to_mem() local 1112 OUT_RELOC(ring, src_bo, src_off, 0, 0); in fd4_mem_to_mem()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_emit.c | 1385 struct fd_bo *src_bo = fd_resource(src)->bo; in fd6_mem_to_mem() local 1393 OUT_RELOC(ring, src_bo, src_off, 0, 0); in fd6_mem_to_mem()
|