/external/igt-gpu-tools/tests/i915/ |
D | gem_softpin.c | 48 const uint32_t bbe = MI_BATCH_BUFFER_END; in test_invalid() local 59 gem_write(fd, object.handle, 0, &bbe, sizeof(bbe)); in test_invalid() 100 const uint32_t bbe = MI_BATCH_BUFFER_END; in test_softpin() local 115 gem_write(fd, object.handle, 0, &bbe, sizeof(bbe)); in test_softpin() 126 gem_write(fd, object.handle, 0, &bbe, sizeof(bbe)); in test_softpin() 143 const uint32_t bbe = MI_BATCH_BUFFER_END; in test_overlap() local 150 gem_write(fd, handle, 0, &bbe, sizeof(bbe)); in test_overlap() 169 gem_write(fd, object[1].handle, 0, &bbe, sizeof(bbe)); in test_overlap() 265 const uint32_t bbe = MI_BATCH_BUFFER_END; in test_evict_active() local 272 gem_write(fd, object.handle, 0, &bbe, sizeof(bbe)); in test_evict_active() [all …]
|
D | gem_exec_create.c | 61 const uint32_t bbe = MI_BATCH_BUFFER_END; in all() local 75 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in all() 101 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in all() 115 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in all()
|
D | gem_eio.c | 318 const uint32_t bbe = MI_BATCH_BUFFER_END; in __test_banned() local 321 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in __test_banned() 432 const uint32_t bbe = MI_BATCH_BUFFER_END; in test_inflight() local 443 gem_write(fd, obj[1].handle, 0, &bbe, sizeof(bbe)); in test_inflight() 483 uint32_t bbe = MI_BATCH_BUFFER_END; in test_inflight_suspend() local 500 gem_write(fd, obj[1].handle, 0, &bbe, sizeof(bbe)); in test_inflight_suspend() 559 const uint32_t bbe = MI_BATCH_BUFFER_END; in test_inflight_contexts() local 581 gem_write(fd, obj[1].handle, 0, &bbe, sizeof(bbe)); in test_inflight_contexts() 622 const uint32_t bbe = MI_BATCH_BUFFER_END; in test_inflight_external() local 642 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in test_inflight_external() [all …]
|
D | gem_exec_fence.c | 572 const uint32_t bbe = MI_BATCH_BUFFER_END; in batch_create() local 576 gem_write(fd, handle, 0, &bbe, sizeof(bbe)); in batch_create() 662 const uint32_t bbe = MI_BATCH_BUFFER_END; in test_long_history() local 684 gem_write(fd, obj[1].handle, sz - sizeof(bbe), &bbe, sizeof(bbe)); in test_long_history() 796 const uint32_t bbe = MI_BATCH_BUFFER_END; in test_invalid_fence_array() local 805 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in test_invalid_fence_array() 1020 const uint32_t bbe = MI_BATCH_BUFFER_END; in test_syncobj_unused_fence() local 1040 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in test_syncobj_unused_fence() 1056 const uint32_t bbe = MI_BATCH_BUFFER_END; in test_syncobj_invalid_wait() local 1072 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in test_syncobj_invalid_wait() [all …]
|
D | gem_shrink.c | 95 const uint32_t bbe = MI_BATCH_BUFFER_END; in execbuf1() local 105 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in execbuf1() 136 const uint32_t bbe = MI_BATCH_BUFFER_END; in execbufN() local 146 gem_write(fd, obj[count].handle, 0, &bbe, sizeof(bbe)); in execbufN() 164 const uint32_t bbe = MI_BATCH_BUFFER_END; in execbufX() local 174 gem_write(fd, obj[count].handle, 0, &bbe, sizeof(bbe)); in execbufX() 197 const uint32_t bbe = MI_BATCH_BUFFER_END; in hang() local 207 gem_write(fd, obj[count].handle, 0, &bbe, sizeof(bbe)); in hang()
|
D | gem_exec_reloc.c | 104 uint32_t bbe = MI_BATCH_BUFFER_END; in from_mmap() local 120 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in from_mmap() 186 uint32_t bbe = MI_BATCH_BUFFER_END; in from_gpu() local 197 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in from_gpu() 342 const uint32_t bbe = MI_BATCH_BUFFER_END; in basic_reloc() local 349 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in basic_reloc() 436 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in basic_reloc() 521 const uint32_t bbe = MI_BATCH_BUFFER_END; in basic_range() local 542 gem_write(fd, obj[n].handle, 0, &bbe, sizeof(bbe)); in basic_range() 562 gem_write(fd, obj[n].handle, 0, &bbe, sizeof(bbe)); in basic_range() [all …]
|
D | gem_ctx_create.c | 86 const uint32_t bbe = MI_BATCH_BUFFER_END; in files() local 92 gem_write(core, batch, 0, &bbe, sizeof(bbe)); in files() 129 const uint32_t bbe = MI_BATCH_BUFFER_END; in active() local 150 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in active() 167 gem_write(fd, obj.handle, 0, &bbe, sizeof(bbe)); in active() 258 const uint32_t bbe = MI_BATCH_BUFFER_END; in maximum() local 292 gem_write(fd, obj[1].handle, 0, &bbe, sizeof(bbe)); in maximum() 390 const uint32_t bbe = MI_BATCH_BUFFER_END; in check_single_timeline() local 400 gem_write(i915, results.handle, 0, &bbe, sizeof(bbe)); in check_single_timeline()
|
D | gem_ctx_shared.c | 64 const uint32_t bbe = MI_BATCH_BUFFER_END; in create_shared_gtt() local 74 gem_write(i915, obj.handle, 0, &bbe, sizeof(bbe)); in create_shared_gtt() 143 const uint32_t bbe = MI_BATCH_BUFFER_END; in exhaust_shared_gtt() local 155 gem_write(i915, obj.handle, 0, &bbe, sizeof(bbe)); in exhaust_shared_gtt() 187 const uint32_t bbe = MI_BATCH_BUFFER_END; in exec_shared_gtt() local 204 gem_write(i915, scratch, 0, &bbe, sizeof(bbe)); in exec_shared_gtt() 214 s[0] = bbe; in exec_shared_gtt() 215 s[64] = bbe; in exec_shared_gtt() 239 cs[++i] = bbe; in exec_shared_gtt() 275 const uint32_t bbe = MI_BATCH_BUFFER_END; in nop_sync() local [all …]
|
D | gem_sync.c | 105 const uint32_t bbe = MI_BATCH_BUFFER_END; in sync_ring() local 113 gem_write(fd, object.handle, 0, &bbe, sizeof(bbe)); in sync_ring() 144 const uint32_t bbe = MI_BATCH_BUFFER_END; in idle_ring() local 154 gem_write(fd, object.handle, 0, &bbe, sizeof(bbe)); in idle_ring() 207 const uint32_t bbe = MI_BATCH_BUFFER_END; in wakeup_ring() local 216 gem_write(fd, object.handle, 0, &bbe, sizeof(bbe)); in wakeup_ring() 386 const uint32_t bbe = MI_BATCH_BUFFER_END; in active_wakeup_ring() local 395 gem_write(fd, object.handle, 0, &bbe, sizeof(bbe)); in active_wakeup_ring() 522 const uint32_t bbe = MI_BATCH_BUFFER_END; in store_ring() local 540 gem_write(fd, object[0].handle, 0, &bbe, sizeof(bbe)); in store_ring() [all …]
|
D | gem_ring_sync_loop.c | 41 const uint32_t bbe = MI_BATCH_BUFFER_END; in sync_loop() local 59 gem_write(fd, object[1].handle, 0, &bbe, sizeof(bbe)); in sync_loop()
|
D | gem_close.c | 28 uint32_t bbe = MI_BATCH_BUFFER_END; in test_many_handles() local 35 gem_write(fd, original, 0, &bbe, sizeof(bbe)); in test_many_handles()
|
D | gem_exec_nop.c | 114 uint32_t *bbe[2], *state, *batch; in poll_ring() local 161 bbe[start_offset != 0] = b; in poll_ring() 195 *bbe[idx] = MI_ARB_CHK; in poll_ring() 197 (bbe[idx] - batch) * sizeof(*batch) - 64; in poll_ring() 201 *bbe[!idx] = MI_BATCH_BUFFER_END; in poll_ring() 207 *bbe[cycles & 1] = MI_BATCH_BUFFER_END; in poll_ring() 224 uint32_t *bbe[2], *state, *batch; in poll_sequential() local 282 bbe[start_offset != 0] = b; in poll_sequential() 319 *bbe[idx] = MI_ARB_CHK; in poll_sequential() 321 (bbe[idx] - batch) * sizeof(*batch) - 64; in poll_sequential() [all …]
|
D | gem_madvise.c | 116 uint32_t bbe = MI_BATCH_BUFFER_END; in dontneed_before_pwrite() local 122 igt_assert_eq(__gem_write(fd, handle, 0, &bbe, sizeof(bbe)), -EFAULT); in dontneed_before_pwrite()
|
D | gem_ctx_thrash.c | 265 uint32_t bbe = MI_BATCH_BUFFER_END; in processes() local 267 gem_write(fd, name, 0, &bbe, sizeof(bbe)); in processes() 336 uint32_t bbe = MI_BATCH_BUFFER_END; in threads() local 351 gem_write(data.fd, data.batch, 0, &bbe, sizeof(bbe)); in threads()
|
D | gem_exec_basic.c | 30 const uint32_t bbe = MI_BATCH_BUFFER_END; in batch_create() local 34 gem_write(fd, handle, 0, &bbe, sizeof(bbe)); in batch_create()
|
D | gem_ctx_switch.c | 332 const uint32_t bbe = MI_BATCH_BUFFER_END; variable 340 gem_write(fd, light, 0, &bbe, sizeof(bbe)); 343 gem_write(fd, heavy, 4096*1024-sizeof(bbe), &bbe, sizeof(bbe));
|
D | gem_exec_reuse.c | 91 uint32_t bbe = MI_BATCH_BUFFER_END; variable 127 gem_write(no.fd, no.batch, 0, &bbe, sizeof(bbe));
|
D | gem_reloc_overflow.c | 372 uint32_t bbe = MI_BATCH_BUFFER_END; variable 403 gem_write(fd, obj[0].handle, 0, &bbe, sizeof(bbe)); 406 gem_write(fd, obj[i].handle, 0, &bbe, sizeof(bbe));
|
D | gem_exec_alignment.c | 70 uint32_t bbe = MI_BATCH_BUFFER_END; in many() local 108 gem_write(fd, execobj[i].handle, 0, &bbe, sizeof(bbe)); in many()
|
/external/igt-gpu-tools/benchmarks/ |
D | gem_exec_trace.c | 123 const uint32_t bbe = 0xa << 23; in replay() local 171 gem_write(fd, bo[0], nop + range - sizeof(bbe), in replay() 172 &bbe, sizeof(bbe)); in replay() 177 gem_write(fd, bo[0], 0, &bbe, sizeof(bbe)); in replay() 309 const uint32_t bbe = 0xa << 23; in calibrate_nop() local 320 gem_write(fd, obj.handle, size - sizeof(bbe), &bbe, sizeof(bbe)); in calibrate_nop() 343 const uint32_t bbe = 0xa << 23; in measure_nop() local 350 gem_write(fd, obj.handle, nop - sizeof(bbe), &bbe, sizeof(bbe)); in measure_nop()
|
D | gem_syslatency.c | 95 const uint32_t bbe = MI_BATCH_BUFFER_END; in gem_busyspin() local 100 bs->sz ? bs->sz + sizeof(bbe) : bs->leak ? 16 << 20 : 4 << 10; in gem_busyspin() 116 gem_write(fd, obj[1].handle, bs->sz, &bbe, sizeof(bbe)); in gem_busyspin() 149 gem_write(fd, obj[1].handle, bs->sz, &bbe, sizeof(bbe)); in gem_busyspin() 312 const uint32_t bbe = MI_BATCH_BUFFER_END; in calibrate_nop() local 329 obj.handle = gem_create(fd, sz + sizeof(bbe)); in calibrate_nop() 330 gem_write(fd, obj.handle, sz, &bbe, sizeof(bbe)); in calibrate_nop()
|
D | gem_exec_fault.c | 66 const uint32_t bbe = MI_BATCH_BUFFER_END; in batch() local 68 gem_write(fd, handle, 0, &bbe, sizeof(bbe)); in batch()
|
/external/igt-gpu-tools/lib/i915/ |
D | gem_submission.c | 198 const uint32_t bbe = MI_BATCH_BUFFER_END; in gem_test_engine() local 209 gem_write(i915, obj.handle, 0, &bbe, sizeof(bbe)); in gem_test_engine()
|
D | gem_ring.c | 58 const uint32_t bbe = MI_BATCH_BUFFER_END; in __gem_measure_ring_inflight() local 65 gem_write(fd, obj[1].handle, 0, &bbe, sizeof(bbe)); in __gem_measure_ring_inflight()
|
/external/igt-gpu-tools/tests/amdgpu/ |
D | amd_prime.c | 173 const uint32_t bbe = MI_BATCH_BUFFER_END; in i915_to_amd() local 188 gem_write(i915, obj[1].handle, 0, &bbe, sizeof(bbe)); in i915_to_amd() 291 const uint32_t bbe = MI_BATCH_BUFFER_END; in amd_to_i915() local 311 gem_write(i915, obj[1].handle, 0, &bbe, sizeof(bbe)); in amd_to_i915()
|