Home
last modified time | relevance | path

Searched refs:gem_mmap__cpu (Results 1 – 25 of 53) sorted by relevance

123

/external/igt-gpu-tools/tests/i915/
Dgem_gtt_speed.c145 uint32_t *base = gem_mmap__cpu(fd, handle, 0, size, PROT_READ | PROT_WRITE);
160 base = gem_mmap__cpu(fd, handle, 0,
178 base = gem_mmap__cpu(fd, handle, 0,
202 base = gem_mmap__cpu(fd, handle, 0,
218 base = gem_mmap__cpu(fd, handle, 0,
229 base = gem_mmap__cpu(fd, handle, 0, size,
Dgem_streaming_writes.c85 s = gem_mmap__cpu(fd, src, 0, OBJECT_SIZE, in test_streaming()
99 d = gem_mmap__cpu(fd, dst, 0, OBJECT_SIZE, PROT_READ); in test_streaming()
150 base = gem_mmap__cpu(fd, batch[i].handle, 0, 4096, PROT_WRITE); in test_streaming()
254 d = gem_mmap__cpu(fd, dst, 0, OBJECT_SIZE, PROT_READ); in test_batch()
281 base = gem_mmap__cpu(fd, exec[BATCH].handle, 0, batch_size, in test_batch()
Dgem_pwrite_pread.c140 src_ptr = gem_mmap__cpu(fd, src, 0, OBJECT_SIZE, PROT_WRITE); in as_cpu_mmap()
141 dst_ptr = gem_mmap__cpu(fd, dst, 0, OBJECT_SIZE, PROT_READ); in as_cpu_mmap()
209 src_ptr = gem_mmap__cpu(fd, src, 0, OBJECT_SIZE, PROT_WRITE); in test_as_cpu_mmap()
210 dst_ptr = gem_mmap__cpu(fd, dst, 0, OBJECT_SIZE, PROT_READ); in test_as_cpu_mmap()
Dgem_exec_reloc.c139 relocs = gem_mmap__cpu(fd, reloc_handle, 0, size, PROT_WRITE); in from_mmap()
216 relocs = gem_mmap__cpu(fd, reloc_handle, 0, 4096, PROT_READ); in from_gpu()
242 map = gem_mmap__cpu(fd, handle, 0, 4096, PROT_READ); in check_bo()
374 wc = gem_mmap__cpu(fd, obj.handle, 0, OBJSZ, PROT_WRITE); in basic_reloc()
405 wc = gem_mmap__cpu(fd, obj.handle, 0, OBJSZ, PROT_READ); in basic_reloc()
444 wc = gem_mmap__cpu(fd, obj.handle, 0, OBJSZ, PROT_WRITE); in basic_reloc()
473 wc = gem_mmap__cpu(fd, obj.handle, 0, OBJSZ, PROT_READ); in basic_reloc()
Dgem_ctx_isolation.c237 regs = gem_mmap__cpu(fd, handle, 0, regs_size, PROT_WRITE); in tmpl_regs()
288 b = batch = gem_mmap__cpu(fd, obj[1].handle, 0, batch_size, PROT_WRITE); in read_regs()
351 b = batch = gem_mmap__cpu(fd, obj.handle, 0, batch_size, PROT_WRITE); in write_regs()
414 b = batch = gem_mmap__cpu(fd, obj[1].handle, 0, batch_size, PROT_WRITE); in restore_regs()
468 out = gem_mmap__cpu(fd, regs, 0, regs_size, PROT_READ); in dump_regs()
500 a = gem_mmap__cpu(fd, A, 0, regs_size, PROT_READ); in compare_regs()
503 b = gem_mmap__cpu(fd, B, 0, regs_size, PROT_READ); in compare_regs()
Dgem_mmap.c129 ptr = gem_mmap__cpu(i915, spin->handle, 0, 4096, PROT_WRITE); in test_pf_nonblock()
264 addr = gem_mmap__cpu(fd, handle, 0, 4096, PROT_WRITE);
Dgem_ringfill.c60 map = gem_mmap__cpu(fd, handle, 0, 4096, PROT_READ); in check_bo()
130 batch = gem_mmap__cpu(fd, obj[1].handle, 0, 16*1024 + 4096, in setup_execbuf()
Dgem_workarounds.c112 gem_mmap__cpu(i915, obj[1].handle, 0, batch_sz, PROT_WRITE); in workaround_fail_count()
145 out = gem_mmap__cpu(i915, obj[0].handle, 0, result_sz, PROT_READ); in workaround_fail_count()
Dgem_mmap_gtt.c247 cpu = gem_mmap__cpu(fd, handle, 0, 4096, PROT_READ | PROT_WRITE); in test_wc()
411 cpu = gem_mmap__cpu(fd, handle, 0, OBJECT_SIZE, PROT_READ | PROT_WRITE); in test_coherency()
638 tiled_pattern = gem_mmap__cpu(fd, bo, 0, PAGE_SIZE, PROT_READ); in test_huge_bo()
648 ptr = gem_mmap__cpu(fd, bo, 0, size, PROT_READ | PROT_WRITE); in test_huge_bo()
838 src = gem_mmap__cpu(fd, handle, 0, OBJECT_SIZE, PROT_WRITE); in test_write_cpu_read_gtt()
Dgem_cs_tlb.c83 ptr = gem_mmap__cpu(fd, handle, 0, size, PROT_WRITE); in mmap_coherent()
Dgem_exec_params.c128 map = gem_mmap__cpu(fd, obj[0].handle, 0, 4096, PROT_WRITE); in test_batch_first()
155 map = gem_mmap__cpu(fd, obj[2].handle, 0, 4096, PROT_WRITE); in test_batch_first()
Dgem_exec_flush.c142 map = gem_mmap__cpu(fd, obj[0].handle, 0, 4096, PROT_WRITE); in run()
386 map = gem_mmap__cpu(fd, obj[0].handle, 0, 4096, PROT_WRITE); in batch()
411 ptr = gem_mmap__cpu(fd, obj[1].handle, 0, 64<<10, in batch()
Dgem_exec_capture.c106 batch = gem_mmap__cpu(fd, obj[BATCH].handle, 0, 4096, PROT_WRITE); in __capture1()
223 ptr = gem_mmap__cpu(fd, obj[i + 1].handle, in __captureN()
254 batch = gem_mmap__cpu(fd, obj[count + 1].handle, 0, 4096, PROT_WRITE); in __captureN()
Dgem_storedw_loop.c57 return gem_mmap__cpu(fd, handle, 0, size, PROT_WRITE); in mmap_coherent()
Dgem_tiled_wb.c182 linear = gem_mmap__cpu(fd, handle, first_page, last_page - first_page, PROT_READ);
Dgem_shrink.c86 uint32_t *ptr = gem_mmap__cpu(fd, handle, 0, alloc, PROT_WRITE); in mmap_cpu()
126 ptr = gem_mmap__cpu(fd, handle, 0, total, PROT_WRITE); in __gem_calloc()
Dgem_render_copy.c114 map = gem_mmap__cpu(data->drm_fd, buf->bo->handle, 0, in copy_linear_to_yf()
138 map = gem_mmap__cpu(data->drm_fd, buf->bo->handle, 0, in copy_yf_to_linear()
363 map = gem_mmap__cpu(data->drm_fd, src->bo->handle, 0, in scratch_buf_copy()
Di915_hangman.c214 batch = gem_mmap__cpu(device, hang.spin->handle, 0, 4096, PROT_READ); in test_error_state_capture()
Dgem_mmap_wc.c240 cpu = gem_mmap__cpu(fd, handle, 0, OBJECT_SIZE, PROT_READ | PROT_WRITE); in test_coherency()
319 src = gem_mmap__cpu(fd, handle, 0, OBJECT_SIZE, PROT_WRITE); in test_write_cpu_read_wc()
Dgem_mocs_settings.c365 read_regs = gem_mmap__cpu(fd, dst_handle, 0, 4096, PROT_READ); in check_control_registers()
404 read_regs = gem_mmap__cpu(fd, dst_handle, 0, 4096, PROT_READ); in check_l3cc_registers()
Dgem_bad_reloc.c102 offsets = gem_mmap__cpu(fd, obj.handle, 0, 8192, PROT_READ); in negative_reloc()
/external/igt-gpu-tools/benchmarks/
Dgem_mmap.c121 ptr = gem_mmap__cpu(fd, handle, 0, OBJECT_SIZE, PROT_WRITE); in main()
172 ptr = gem_mmap__cpu(fd, handle, 0, OBJECT_SIZE, PROT_WRITE); in main()
/external/igt-gpu-tools/lib/i915/
Dgem_mman.h29 void *gem_mmap__cpu(int fd, uint32_t handle, uint64_t offset, uint64_t size, unsigned prot);
Dgem_mman.c249 void *gem_mmap__cpu(int fd, uint32_t handle, uint64_t offset, uint64_t size, unsigned prot) in gem_mmap__cpu() function
/external/igt-gpu-tools/tests/
Dprime_self_import.c63 ptr1 = gem_mmap__cpu(fd1, handle1, 0, BO_SIZE, PROT_READ | PROT_WRITE); in check_bo()
64 ptr2 = gem_mmap__cpu(fd2, handle2, 0, BO_SIZE, PROT_READ | PROT_WRITE); in check_bo()

123