/external/igt-gpu-tools/tests/i915/ |
D | gem_gtt_cpu_tlb.c | 62 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);
|
D | i915_suspend.c | 60 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()
|
D | gem_mmap_gtt.c | 63 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 …]
|
D | gem_gtt_speed.c | 258 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);
|
D | gem_madvise.c | 66 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()
|
D | gem_tiled_pread_pwrite.c | 83 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);
|
D | gem_pwrite_pread.c | 115 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()
|
D | gem_gtt_hog.c | 143 ptr = gem_mmap__gtt(data->fd, handle, size, in run() 147 ptr = gem_mmap__gtt(data->fd, handle, size, PROT_READ); in run()
|
D | gem_mmap_offset_exhaustion.c | 63 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE); in create_and_map_bo()
|
D | gem_tiled_swapping.c | 97 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()
|
D | gem_largeobject.c | 67 ptr = gem_mmap__gtt(fd, create.handle, obj_size, in test_large_object()
|
D | gem_tiled_fence_blits.c | 60 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()
|
D | gem_render_copy.c | 161 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()
|
D | gem_ctx_shared.c | 611 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()
|
D | gem_set_tiling_vs_pwrite.c | 65 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE);
|
D | gem_fence_upload.c | 69 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()
|
D | gem_exec_reloc.c | 132 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()
|
D | gem_set_tiling_vs_gtt.c | 69 ptr = gem_mmap__gtt(fd, handle, OBJECT_SIZE, PROT_READ | PROT_WRITE);
|
D | gem_tiling_max_stride.c | 102 ptr = gem_mmap__gtt(fd, handle, size, PROT_READ | PROT_WRITE);
|
D | gen3_render_tiledy_blits.c | 298 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()
|
D | gen3_render_tiledx_blits.c | 298 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()
|
D | gem_tiled_pread_basic.c | 75 data = gem_mmap__gtt(fd, handle, sizeof(linear), in create_bo()
|
/external/igt-gpu-tools/benchmarks/ |
D | gem_mmap.c | 125 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/ |
D | gem_mman.h | 28 void *gem_mmap__gtt(int fd, uint32_t handle, uint64_t size, unsigned prot);
|
D | gem_mman.c | 87 void *gem_mmap__gtt(int fd, uint32_t handle, uint64_t size, unsigned prot) in gem_mmap__gtt() function
|