/external/igt-gpu-tools/tests/i915/ |
D | gem_gtt_speed.c | 145 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,
|
D | gem_streaming_writes.c | 85 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()
|
D | gem_pwrite_pread.c | 140 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()
|
D | gem_exec_reloc.c | 139 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()
|
D | gem_ctx_isolation.c | 237 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()
|
D | gem_mmap.c | 129 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);
|
D | gem_ringfill.c | 60 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()
|
D | gem_workarounds.c | 112 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()
|
D | gem_mmap_gtt.c | 247 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()
|
D | gem_cs_tlb.c | 83 ptr = gem_mmap__cpu(fd, handle, 0, size, PROT_WRITE); in mmap_coherent()
|
D | gem_exec_params.c | 128 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()
|
D | gem_exec_flush.c | 142 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()
|
D | gem_exec_capture.c | 106 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()
|
D | gem_storedw_loop.c | 57 return gem_mmap__cpu(fd, handle, 0, size, PROT_WRITE); in mmap_coherent()
|
D | gem_tiled_wb.c | 182 linear = gem_mmap__cpu(fd, handle, first_page, last_page - first_page, PROT_READ);
|
D | gem_shrink.c | 86 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()
|
D | gem_render_copy.c | 114 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()
|
D | i915_hangman.c | 214 batch = gem_mmap__cpu(device, hang.spin->handle, 0, 4096, PROT_READ); in test_error_state_capture()
|
D | gem_mmap_wc.c | 240 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()
|
D | gem_mocs_settings.c | 365 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()
|
D | gem_bad_reloc.c | 102 offsets = gem_mmap__cpu(fd, obj.handle, 0, 8192, PROT_READ); in negative_reloc()
|
/external/igt-gpu-tools/benchmarks/ |
D | gem_mmap.c | 121 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/ |
D | gem_mman.h | 29 void *gem_mmap__cpu(int fd, uint32_t handle, uint64_t offset, uint64_t size, unsigned prot);
|
D | gem_mman.c | 249 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/ |
D | prime_self_import.c | 63 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()
|