Home
last modified time | relevance | path

Searched refs:gem_mmap__gtt (Results 1 – 25 of 60) sorted by relevance

123

/external/igt-gpu-tools/tests/i915/
Dgem_gtt_cpu_tlb.c62 data = gem_mmap__gtt(fd, handle, OBJ_SIZE, PROT_READ | PROT_WRITE); in create_bo()
86 ptr = gem_mmap__gtt(fd, handle, OBJ_SIZE, PROT_READ | PROT_WRITE);
Di915_suspend.c60 ptr1 = gem_mmap__gtt(fd, handle1, OBJECT_SIZE, PROT_READ | PROT_WRITE); in test_fence_restore()
65 ptr_tiled = gem_mmap__gtt(fd, handle_tiled, OBJECT_SIZE, in test_fence_restore()
74 ptr2 = gem_mmap__gtt(fd, handle2, OBJECT_SIZE, PROT_READ | PROT_WRITE); in test_fence_restore()
Dgem_mmap_gtt.c63 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE); in mmap_bo()
181 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE); in test_read_write()
205 r = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ); in test_read_write2()
206 w = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE); in test_read_write2()
252 gtt = gem_mmap__gtt(fd, handle, 4096, PROT_READ | PROT_WRITE); in test_wc()
316 ptr = gem_mmap__gtt(i915, spin->handle, 4096, PROT_WRITE); in test_pf_nonblock()
410 gtt = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE); in test_coherency()
440 gtt = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE); in test_clflush()
481 gtt[i] = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_WRITE); in test_hang()
634 linear_pattern = gem_mmap__gtt(fd, bo, PAGE_SIZE, in test_huge_bo()
[all …]
Dgem_gtt_speed.c258 uint32_t *base = gem_mmap__gtt(fd, handle, size, PROT_READ | PROT_WRITE);
273 uint32_t *base = gem_mmap__gtt(fd, handle, size, PROT_READ | PROT_WRITE);
358 uint32_t *base = gem_mmap__gtt(fd, handle, size, PROT_READ | PROT_WRITE);
390 uint32_t *base = gem_mmap__gtt(fd, handle, size, PROT_READ | PROT_WRITE);
412 uint32_t *base = gem_mmap__gtt(fd, handle, size, PROT_READ | PROT_WRITE);
434 uint32_t *base = gem_mmap__gtt(fd, handle, size, PROT_READ | PROT_WRITE);
Dgem_madvise.c66 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE); in dontneed_before_mmap()
93 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE); in dontneed_after_mmap()
Dgem_tiled_pread_pwrite.c83 data = gem_mmap__gtt(fd, handle, sizeof(linear), in create_bo_and_fill()
134 data = gem_mmap__gtt(fd, handle_target, sizeof(linear), PROT_READ);
Dgem_pwrite_pread.c115 src_ptr = gem_mmap__gtt(fd, src, OBJECT_SIZE, PROT_WRITE); in as_gtt_mmap()
116 dst_ptr = gem_mmap__gtt(fd, dst, OBJECT_SIZE, PROT_READ); in as_gtt_mmap()
185 src_ptr = gem_mmap__gtt(fd, src, OBJECT_SIZE, PROT_WRITE); in test_as_gtt_mmap()
186 dst_ptr = gem_mmap__gtt(fd, dst, OBJECT_SIZE, PROT_READ); in test_as_gtt_mmap()
Dgem_gtt_hog.c143 ptr = gem_mmap__gtt(data->fd, handle, size, in run()
147 ptr = gem_mmap__gtt(data->fd, handle, size, PROT_READ); in run()
Dgem_tiled_swapping.c97 data = gem_mmap__gtt(fd, handle, LINEAR_DWORDS, in fill_bo()
112 data = gem_mmap__gtt(fd, handle, LINEAR_DWORDS, PROT_READ); in check_bo()
Dgem_mmap_offset_exhaustion.c63 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE); in create_and_map_bo()
Dgem_largeobject.c67 ptr = gem_mmap__gtt(fd, create.handle, obj_size, in test_large_object()
Dgem_tiled_fence_blits.c60 ptr = gem_mmap__gtt(fd, handle, bo_size, PROT_WRITE); in create_bo()
73 ptr = gem_mmap__gtt(fd, handle, bo_size, PROT_READ); in check_bo()
Dgem_render_copy.c161 map = gem_mmap__gtt(data->drm_fd, buf->bo->handle, in copy_linear_to_gtt()
177 map = gem_mmap__gtt(data->drm_fd, buf->bo->handle, in copy_gtt_to_linear()
242 map = gem_mmap__gtt(data->drm_fd, buf->bo->handle, in linear_copy_aux()
355 linear_dst = gem_mmap__gtt(data->drm_fd, dst->bo->handle, in scratch_buf_copy()
383 linear_src = gem_mmap__gtt(data->drm_fd, src->bo->handle, in scratch_buf_copy()
Dgem_ctx_shared.c611 ptr = gem_mmap__gtt(i915, handle[i], 4096, PROT_READ); in independent()
656 ptr = gem_mmap__gtt(i915, scratch, 4096, PROT_READ); in reorder()
711 ptr = gem_mmap__gtt(i915, dep, 4096, PROT_READ); in promotion()
719 ptr = gem_mmap__gtt(i915, result, 4096, PROT_READ); in promotion()
769 ptr = gem_mmap__gtt(i915, scratch, 4096, PROT_READ); in smoketest()
Dgem_set_tiling_vs_pwrite.c65 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE);
Dgem_fence_upload.c69 ptr[n] = gem_mmap__gtt(fd, handle[n], OBJECT_SIZE, PROT_READ | PROT_WRITE); in performance()
176 ptr[n] = gem_mmap__gtt(fd, handle[n], OBJECT_SIZE, PROT_READ | PROT_WRITE); in thread_performance()
256 uint32_t *ptr = gem_mmap__gtt(t->fd, t->handle, OBJECT_SIZE, PROT_READ | PROT_WRITE); in no_contention()
Dgem_exec_reloc.c132 relocs = gem_mmap__gtt(fd, reloc_handle, size, PROT_WRITE); in from_mmap()
376 wc = gem_mmap__gtt(fd, obj.handle, OBJSZ, PROT_WRITE); in basic_reloc()
407 wc = gem_mmap__gtt(fd, obj.handle, OBJSZ, PROT_READ); in basic_reloc()
446 wc = gem_mmap__gtt(fd, obj.handle, OBJSZ, PROT_WRITE); in basic_reloc()
475 wc = gem_mmap__gtt(fd, obj.handle, OBJSZ, PROT_READ); in basic_reloc()
Dgem_set_tiling_vs_gtt.c69 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE);
Dgem_tiling_max_stride.c102 ptr = gem_mmap__gtt(fd, handle, size, PROT_READ | PROT_WRITE);
Dgen3_render_tiledx_blits.c298 v = gem_mmap__gtt(fd, handle, WIDTH * HEIGHT * 4, in create_bo()
314 v = gem_mmap__gtt(fd, handle, WIDTH * HEIGHT * 4, PROT_READ); in check_bo()
Dgen3_render_tiledy_blits.c298 v = gem_mmap__gtt(fd, handle, WIDTH * HEIGHT * 4, in create_bo()
314 v = gem_mmap__gtt(fd, handle, WIDTH * HEIGHT * 4, PROT_READ); in check_bo()
Dgen3_render_mixed_blits.c311 v = gem_mmap__gtt(fd, handle, WIDTH * HEIGHT * 4, in create_bo()
327 v = gem_mmap__gtt(fd, handle, WIDTH * HEIGHT * 4, PROT_READ); in check_bo()
Dgem_tiled_pread_basic.c75 data = gem_mmap__gtt(fd, handle, sizeof(linear), in create_bo()
/external/igt-gpu-tools/benchmarks/
Dgem_mmap.c125 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_WRITE); in main()
175 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_WRITE); in main()
/external/igt-gpu-tools/lib/i915/
Dgem_mman.h28 void *gem_mmap__gtt(int fd, uint32_t handle, uint64_t size, unsigned prot);

123