Home
last modified time | relevance | path

Searched refs:vma (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_vma.h51 ilo_vma_init(struct ilo_vma *vma, const struct ilo_dev *dev, in ilo_vma_init() argument
54 assert(ilo_is_zeroed(vma, sizeof(*vma))); in ilo_vma_init()
57 vma->vm_alignment = alignment; in ilo_vma_init()
58 vma->vm_size = size; in ilo_vma_init()
64 ilo_vma_set_bo(struct ilo_vma *vma, const struct ilo_dev *dev, in ilo_vma_set_bo() argument
67 assert(offset % vma->vm_alignment == 0); in ilo_vma_set_bo()
69 vma->bo = bo; in ilo_vma_set_bo()
70 vma->bo_offset = offset; in ilo_vma_set_bo()
Dilo_builder_3d_top.h322 if (b->vma) { in gen6_3DSTATE_VERTEX_BUFFERS()
323 ilo_builder_batch_reloc64(builder, pos + 1, b->vma->bo, in gen6_3DSTATE_VERTEX_BUFFERS()
324 b->vma->bo_offset + b->vb[1], 0); in gen6_3DSTATE_VERTEX_BUFFERS()
337 if (b->vma) { in gen6_3DSTATE_VERTEX_BUFFERS()
338 ilo_builder_batch_reloc(builder, pos + 1, b->vma->bo, in gen6_3DSTATE_VERTEX_BUFFERS()
339 b->vma->bo_offset + b->vb[1], 0); in gen6_3DSTATE_VERTEX_BUFFERS()
340 ilo_builder_batch_reloc(builder, pos + 2, b->vma->bo, in gen6_3DSTATE_VERTEX_BUFFERS()
341 b->vma->bo_offset + b->vb[2], 0); in gen6_3DSTATE_VERTEX_BUFFERS()
437 if (ib->vma) { in gen6_3DSTATE_INDEX_BUFFER()
438 ilo_builder_batch_reloc(builder, pos + 1, ib->vma->bo, in gen6_3DSTATE_INDEX_BUFFER()
[all …]
Dilo_state_vf.c482 if (info->vma) in vertex_buffer_validate_gen6()
483 assert(info->size && info->offset + info->size <= info->vma->vm_size); in vertex_buffer_validate_gen6()
503 if (info->vma) in vertex_buffer_validate_gen6()
504 assert(info->vma->vm_alignment % 8 == 0); in vertex_buffer_validate_gen6()
518 return (info->vma) ? info->size : 0; in vertex_buffer_get_gen6_size()
538 if (!info->vma) in vertex_buffer_set_gen8_vertex_buffer_state()
552 vb->vma = info->vma; in vertex_buffer_set_gen8_vertex_buffer_state()
587 if (info->vma) { in index_buffer_validate_gen6()
588 assert(info->vma->vm_alignment % format_size == 0); in index_buffer_validate_gen6()
589 assert(info->size && info->offset + info->size <= info->vma->vm_size); in index_buffer_validate_gen6()
[all …]
Dilo_state_vf.h132 const struct ilo_vma *vma; member
146 const struct ilo_vma *vma; member
150 const struct ilo_vma *vma; member
160 const struct ilo_vma *vma; member
Dilo_state_sol.c281 if (info->vma) { in sol_buffer_validate_gen7()
282 assert(info->vma->vm_alignment % 4 == 0); in sol_buffer_validate_gen7()
283 assert(info->size && info->offset + info->size <= info->vma->vm_size); in sol_buffer_validate_gen7()
320 return (info->vma) ? info->size & ~3 : 0; in sol_buffer_get_gen6_size()
357 if (info->vma) in sol_buffer_set_gen8_3dstate_so_buffer()
450 sb->vma = info->vma; in ilo_state_sol_buffer_init()
Dilo_state_surface.h49 const struct ilo_vma *vma; member
70 const struct ilo_vma *vma; member
87 const struct ilo_vma *vma; member
Dilo_state_surface.c219 if (info->offset + info->size > info->vma->vm_size) { in surface_validate_gen6_buffer()
236 if (info->offset % alignment || info->vma->vm_alignment % alignment) { in surface_validate_gen6_buffer()
446 assert(info->img && info->vma); in surface_validate_gen6_image()
449 assert(info->vma->vm_alignment % 4096 == 0); in surface_validate_gen6_image()
1196 surf->vma = NULL; in ilo_state_surface_init_for_null()
1219 surf->vma = info->vma; in ilo_state_surface_init_for_buffer()
1241 surf->vma = info->vma; in ilo_state_surface_init_for_image()
Dilo_state_sol.h113 const struct ilo_vma *vma; member
131 const struct ilo_vma *vma; member
/external/mesa3d/src/gallium/drivers/ilo/
Dilo_blitter_blt.c143 dst.bo = buf->vma.bo; in buf_clear_region()
144 dst.offset = buf->vma.bo_offset + offset; in buf_clear_region()
190 dst.bo = dst_buf->vma.bo; in buf_copy_region()
191 dst.offset = dst_buf->vma.bo_offset + dst_offset; in buf_copy_region()
194 src.bo = src_buf->vma.bo; in buf_copy_region()
195 src.offset = src_buf->vma.bo_offset + src_offset; in buf_copy_region()
200 dst_buf->vma.bo, GEN6_TILING_NONE, in buf_copy_region()
201 src_buf->vma.bo, GEN6_TILING_NONE); in buf_copy_region()
262 dst.bo = dst_tex->vma.bo; in tex_clear_region()
263 dst.offset = dst_tex->vma.bo_offset; in tex_clear_region()
[all …]
Dilo_transfer.c270 const struct ilo_vma *vma; in xfer_map() local
275 vma = ilo_resource_get_vma(xfer->base.resource); in xfer_map()
276 ptr = intel_bo_map(vma->bo, xfer->base.usage & PIPE_TRANSFER_WRITE); in xfer_map()
279 vma = ilo_resource_get_vma(xfer->base.resource); in xfer_map()
280 ptr = intel_bo_map_gtt(vma->bo); in xfer_map()
283 vma = ilo_resource_get_vma(xfer->base.resource); in xfer_map()
284 ptr = intel_bo_map_gtt_async(vma->bo); in xfer_map()
290 vma = ilo_resource_get_vma(xfer->staging.res); in xfer_map()
298 ptr = intel_bo_map(vma->bo, true); in xfer_map()
300 ptr = intel_bo_map_gtt(vma->bo); in xfer_map()
[all …]
Dilo_resource.h97 struct ilo_vma vma; member
110 struct ilo_vma vma; member
140 &((struct ilo_buffer_resource *) res)->vma : in ilo_resource_get_vma()
141 &((struct ilo_texture *) res)->vma; in ilo_resource_get_vma()
Dilo_resource.c314 intel_bo_unref(tex->vma.bo); in tex_create_bo()
315 ilo_vma_set_bo(&tex->vma, &is->dev, bo, 0); in tex_create_bo()
405 intel_bo_unref(tex->vma.bo); in tex_destroy()
521 !ilo_vma_init(&tex->vma, &is->dev, img->bo_stride * img->bo_height, in tex_init_image()
528 ilo_vma_set_bo(&tex->vma, &is->dev, imported_bo, 0); in tex_init_image()
588 err = intel_winsys_export_handle(is->dev.winsys, tex->vma.bo, tiling, in tex_get_handle()
606 intel_bo_unref(buf->vma.bo); in buf_create_bo()
607 ilo_vma_set_bo(&buf->vma, &is->dev, bo, 0); in buf_create_bo()
615 intel_bo_unref(buf->vma.bo); in buf_destroy()
661 ilo_vma_init(&buf->vma, &is->dev, buf->bo_size, 4096); in buf_create()
Dilo_draw.c449 const struct ilo_vma *vma; in draw_vbo_with_sw_restart() local
459 vma = ilo_resource_get_vma(ib->state.buffer); in draw_vbo_with_sw_restart()
460 u.ptr = intel_bo_map(vma->bo, false); in draw_vbo_with_sw_restart()
462 u.u8 += vma->bo_offset + ib->state.offset; in draw_vbo_with_sw_restart()
464 vma = NULL; in draw_vbo_with_sw_restart()
508 if (vma) in draw_vbo_with_sw_restart()
509 intel_bo_unmap(vma->bo); in draw_vbo_with_sw_restart()
Dilo_state.c382 cbuf->cso[i].info.vma = ilo_resource_get_vma(cbuf->cso[i].resource); in finalize_cbuf_state()
468 info.vma = ilo_resource_get_vma(vec->ib.hw_resource); in finalize_index_buffer()
469 info.size = info.vma->vm_size; in finalize_index_buffer()
532 info.vma = ilo_resource_get_vma(cso->buffer); in finalize_vertex_buffers()
534 info.size = info.vma->vm_size - cso->buffer_offset; in finalize_vertex_buffers()
1565 cso->info.vma = ilo_resource_get_vma(buf[i].buffer); in ilo_set_constant_buffer()
1575 cso->info.vma = NULL; in ilo_set_constant_buffer()
1581 cso->info.vma = NULL; in ilo_set_constant_buffer()
1594 cso->info.vma = NULL; in ilo_set_constant_buffer()
1949 info.vma = ilo_resource_get_vma(res); in ilo_create_stream_output_target()
[all …]
Dilo_render_surface.c52 info.vma = ilo_resource_get_vma(so->buffer); in gen6_so_SURFACE_STATE()
486 info.vma = ilo_resource_get_vma(session->input->buffer); in gen6_emit_launch_grid_surface_const()
549 info.vma = ilo_resource_get_vma(bindings[i].resource); in gen6_emit_launch_grid_surface_global()
550 info.size = info.vma->vm_size; in gen6_emit_launch_grid_surface_global()
/external/ltp/testcases/kernel/mem/
D.gitignore71 /vma/vma01
72 /vma/vma02
73 /vma/vma03
74 /vma/vma04
75 /vma/vma05_vdso
/external/autotest/client/tests/rmaptest/src/
Drmap-test.c91 int vma; in touch_random_pages() local
96 for (vma = 0; vma < vmas_to_do; vma++) { in touch_random_pages()
108 printf("vma %d/%d done\n", vma, nvmas); in touch_random_pages()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DOProfileJITEventListener.cpp94 Result.vma = Address; in LineStartToOProfileFormat()
98 DEBUG(dbgs() << "Mapping " << reinterpret_cast<void*>(Result.vma) << " to " in LineStartToOProfileFormat()
137 line_info.vma = reinterpret_cast<uintptr_t>(FnStart); in NotifyFunctionEmitted()
152 LineInfo[0].vma = reinterpret_cast<uintptr_t>(FnStart); in NotifyFunctionEmitted()
/external/compiler-rt/test/msan/
Dtest.h10 unsigned long vma = (unsigned long)__builtin_frame_address(0); in SystemVMA() local
11 return SANITIZER_WORDSIZE - __builtin_clzll(vma); in SystemVMA()
/external/wpa_supplicant_8/src/utils/
Dtrace.c153 bfd_vma vma; in find_addr_sect() local
162 vma = bfd_get_section_vma(abfd, section); in find_addr_sect()
163 if (data->pc < vma) in find_addr_sect()
167 if (data->pc >= vma + size) in find_addr_sect()
171 data->pc - vma, in find_addr_sect()
/external/syslinux/
Dversion.pl27 $vma = $2+0;
35 print VI defx($def, 'VERSION_MAJOR', $vma);
/external/compiler-rt/lib/cfi/
Dcfi.cc273 uptr vma = GetMaxVirtualAddress(); in InitShadow() local
275 SetShadowSize((vma >> (kShadowGranularity - 1)) + 1); in InitShadow()
276 VReport(1, "CFI: VMA size %zx, shadow size %zx\n", vma, GetShadowSize()); in InitShadow()
/external/jemalloc/bin/
Djeprof.in4454 my $vma;
4469 $vma = $x[3];
4482 $r->{vma} = $vma;
4493 my $vma = undef;
4534 $vma = $1;
4540 if (defined($vma) && defined($size) && defined($file_offset)) {
4546 if (!defined($vma) || !defined($size) || !defined($file_offset)) {
4552 $r->{vma} = $vma;
4636 my $vma_offset = AddressSub($text->{vma}, $text->{file_offset});
4649 my $start = $text->{vma};
/external/honggfuzz/linux/
Dbfd.c123 long offset = (long)funcs[i].pc - bfdParams.section->vma; in arch_bfdResolveSyms()
/external/ltp/
Dgen.bp592 srcs: ["testcases/kernel/mem/vma/vma05_vdso.c"],
1325 srcs: ["testcases/kernel/mem/vma/vma02.c"],
4739 srcs: ["testcases/kernel/mem/vma/vma04.c"],
5419 srcs: ["testcases/kernel/mem/vma/vma01.c"],
6862 srcs: ["testcases/kernel/mem/vma/vma03.c"],

12