Home
last modified time | relevance | path

Searched refs:iova (Results 1 – 25 of 55) sorted by relevance

123

/third_party/mesa3d/src/freedreno/drm/virtio/
Dvirtio_bo.c151 assert(bo->iova || (to_virtio_bo(bo)->blob_id == 0)); in virtio_bo_iova()
152 return bo->iova; in virtio_bo_iova()
165 if (!bo->iova) in virtio_bo_set_name()
218 set_iova(struct fd_bo *bo, uint64_t iova) in set_iova() argument
223 .iova = iova, in set_iova()
235 if (bo->iova) { in virtio_bo_destroy()
238 virtio_dev_free_iova(bo->dev, bo->iova, bo->size); in virtio_bo_destroy()
255 .iova = virtio_bo_iova,
314 bo->iova = virtio_dev_alloc_iova(dev, size); in virtio_bo_from_handle()
315 if (!bo->iova) in virtio_bo_from_handle()
[all …]
Dvirtio_ringbuffer.h41 (*ring->cur++) = (uint32_t)reloc->iova; in X()
43 (*ring->cur++) = (uint32_t)(reloc->iova >> 32); in X()
100 .iova = bo->iova + virtio_target->offset, in X()
106 .iova = bo->iova + virtio_target->offset, in X()
Dvirtio_priv.h92 virtio_dev_free_iova(struct fd_device *dev, uint64_t iova, uint32_t size) in virtio_dev_free_iova() argument
97 util_vma_heap_free(&virtio_dev->address_space, iova, size); in virtio_dev_free_iova()
105 uint64_t iova; in virtio_dev_alloc_iova() local
108 iova = util_vma_heap_alloc(&virtio_dev->address_space, size, 0x1000); in virtio_dev_alloc_iova()
111 return iova; in virtio_dev_alloc_iova()
Dmsm_proto.h153 uint64_t iova; member
169 uint64_t iova; member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_suballoc.c58 suballoc_bo->iova = bo->iova + offset; in tu_suballoc_bo_alloc()
96 suballoc_bo->iova = suballoc_bo->bo->iova; in tu_suballoc_bo_alloc()
124 return bo->bo->map + (bo->iova - bo->bo->iova); in tu_suballoc_bo_map()
Dtu_cs.h64 uint64_t iova; member
68 uint64_t iova : 48; member
150 .iova = entry.bo->iova + entry.offset, in tu_cs_end_draw_state()
170 .iova = memory.iova, in tu_cs_draw_state()
350 tu_cs_emit_qw(cs, entry->bo->iova + entry->offset); in tu_cs_emit_ib()
360 tu_cs_emit_qw(cs, state.iova); in tu_cs_emit_state_ib()
445 uint64_t v = regs[i].bo->iova + regs[i].bo_offset; \
Dtu_cmd_buffer.c58 tu_cs_emit_regs(&cmd->cs, A6XX_PC_TESSFACTOR_ADDR(.qword = cmd->device->tess_bo->iova)); in tu6_lazy_emit_tessfactor_addr()
540 tu_cs_emit_qw(cs, state.iova); in tu_cs_emit_draw_state()
1211 tu_cs_emit_qw(&cs, texture.iova); in tu_emit_input_attachments()
1213 tu_cs_emit_regs(&cs, A6XX_SP_FS_TEX_CONST(.qword = texture.iova)); in tu_emit_input_attachments()
1884 cmd->state.vertex_buffers.iova = tu_cs_draw_state(&cmd->sub_cs, &cs, 4 * MAX_VBS).iova; in tu_CmdBindVertexBuffers2EXT()
1892 cmd->state.vb[firstBinding + i].base = buf->iova + pOffsets[i]; in tu_CmdBindVertexBuffers2EXT()
1909 cmd->state.dynamic_state[TU_DYNAMIC_STATE_VB_STRIDE].iova = in tu_CmdBindVertexBuffers2EXT()
1910 tu_cs_draw_state(&cmd->sub_cs, &cs, 2 * MAX_VBS).iova; in tu_CmdBindVertexBuffers2EXT()
1958 cmd->state.index_va = buf->iova + offset; in tu_CmdBindIndexBuffer()
2054 addr[MAX_SETS] = dynamic_desc_set.iova | 3; in tu_CmdBindDescriptorSets()
[all …]
Dtu_autotune.c106 tu_cs_emit_qw(fence_cs, dev->global_bo->iova + gb_offset(autotune_fence)); in create_submission_data()
620 autotune_result->bo.iova = 0; in tu_autotune_begin_renderpass()
624 uint64_t result_iova = autotune_result->bo.iova; in tu_autotune_begin_renderpass()
643 if (!autotune_result->bo.iova) in tu_autotune_end_renderpass()
646 uint64_t result_iova = autotune_result->bo.iova + in tu_autotune_end_renderpass()
Dtu_cs_breadcrumbs.c248 cs, device->global_bo->iova + gb_offset(breadcrumb_gpu_sync_seqno)); in tu_cs_emit_sync_breadcrumb()
256 cs, device->global_bo->iova + gb_offset(breadcrumb_cpu_sync_seqno)); in tu_cs_emit_sync_breadcrumb()
Dtu_kgsl.c97 .iova = req.gpuaddr, in tu_bo_init_new()
145 .iova = info_req.gpuaddr, in tu_bo_init_dmabuf()
427 .gpuaddr = perf_cs_entry->bo->iova, in tu_QueueSubmit2()
437 .gpuaddr = cs->entries[k].bo->iova, in tu_QueueSubmit2()
453 .gpuaddr = autotune_cs->entries[0].bo->iova, in tu_QueueSubmit2()
Dtu_image.c200 args.iova = image->iova; in tu_image_view_init()
247 iview->depth_base_addr = image->iova + in tu_image_view_init()
253 iview->stencil_base_addr = image->iova + in tu_image_view_init()
832 swiz, buffer->iova + pCreateInfo->offset, range); in tu_buffer_view_init()
Dtu_suballoc.h36 uint64_t iova; member
Dtu_clear_blit.c664 dev->global_shader_va[idx] = dev->global_bo->iova + in compile_shader()
938 tu_cs_emit_qw(cs, texture.iova + A6XX_TEX_CONST_DWORDS * 4); in r3d_src_common()
940 tu_cs_emit_regs(cs, A6XX_SP_FS_TEX_SAMP(.qword = texture.iova + A6XX_TEX_CONST_DWORDS * 4)); in r3d_src_common()
948 tu_cs_emit_qw(cs, texture.iova); in r3d_src_common()
950 tu_cs_emit_regs(cs, A6XX_SP_FS_TEX_CONST(.qword = texture.iova)); in r3d_src_common()
1415 image->iova + image->lrz_offset, in tu6_clear_lrz()
1443 image->iova + image->lrz_fc_offset, 512, in tu6_dirty_lrz_fc()
1470 .iova = image->iova, in tu_image_view_copy_blit()
1737 uint64_t src_va = src_buffer->iova + info->bufferOffset + layer_size * i; in tu_copy_buffer_to_image()
1817 uint64_t dst_va = dst_buffer->iova + info->bufferOffset + layer_size * i; in tu_copy_image_to_buffer()
[all …]
Dtu_device.h202 #define global_iova(cmd, member) ((cmd)->device->global_bo->iova + gb_offset(member))
346 uint64_t iova; member
Dtu_drm.h51 uint64_t iova; member
/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_ringbuffer_sp_reloc.h37 (*ring->cur++) = (uint32_t)reloc->iova; in X()
39 (*ring->cur++) = (uint32_t)(reloc->iova >> 32); in X()
96 .iova = bo->iova + fd_target->offset, in X()
102 .iova = bo->iova + fd_target->offset, in X()
Dfreedreno_ringbuffer.h198 uint64_t iova; member
290 uint64_t iova = fd_bo_get_iova(bo) + offset; in OUT_RELOC() local
293 iova >>= -shift; in OUT_RELOC()
295 iova <<= shift; in OUT_RELOC()
297 iova |= orval; in OUT_RELOC()
301 .iova = iova, in OUT_RELOC()
Dfreedreno_bo.c68 bo->iova = bo->funcs->iova(bo); in fd_bo_init_common()
262 assert(bo->iova != 0); in fd_bo_get_iova()
263 return bo->iova; in fd_bo_get_iova()
Dfreedreno_priv.h307 uint64_t (*iova)(struct fd_bo *bo); member
335 uint64_t iova; member
/third_party/mesa3d/src/freedreno/decode/
Dcrashdec.c216 uint64_t iova; member
233 parseline(line, " iova: %" PRIx64, &ringbuffers[id].iova); in decode_ringbuffer()
242 add_buffer(ringbuffers[id].iova, ringbuffers[id].size, in decode_ringbuffer()
258 uint64_t iova; in decode_gmu_log() local
263 parseline(line, " iova: %" PRIx64, &iova); in decode_gmu_log()
294 parseline(line, " iova: %" PRIx64, &hfi.iova); in decode_gmu_hfi()
375 if (ringbuffers[id].iova != rb_base) in dump_cmdstream()
434 uint64_t iova = 0; in decode_bos() local
438 parseline(line, " - iova: %" PRIx64, &iova); in decode_bos()
447 add_buffer(iova, size, buf); in decode_bos()
Dcrashdec-hfi.c47 uint32_t iova; member
389 uint32_t offset = queue->iova - hfi->iova; in is_valid_decode_start()
432 uint32_t offset = queue->iova - hfi->iova; in decode_hfi()
507 printf("\t\tiova: 0x%x\n", queue->iova); in dump_gmu_hfi()
Dcrashdec.h91 uint64_t iova; member
/third_party/mesa3d/src/freedreno/fdl/
Dfd6_view.c203 uint64_t base_addr = args->iova + in fdl6_view_init()
205 uint64_t ubwc_addr = args->iova + in fdl6_view_init()
281 base_addr[i] = args->iova + in fdl6_view_init()
286 base_addr[i] = args->iova + in fdl6_view_init()
432 const uint8_t *swiz, uint64_t iova, uint32_t size) in fdl6_buffer_view_init() argument
453 descriptor[4] = iova; in fdl6_buffer_view_init()
454 descriptor[5] = iova >> 32; in fdl6_buffer_view_init()
Dfreedreno_layout.h273 uint64_t iova; member
327 const uint8_t *swiz, uint64_t iova, uint32_t size);
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.c232 uint64_t iova = cso->u.buf.offset; in fd6_sampler_view_update() local
234 fdl6_buffer_view_init(so->descriptor, cso->format, swiz, iova, in fd6_sampler_view_update()
239 .iova = 0, in fd6_sampler_view_update()

123