• Home
  • Raw
  • Download

Lines Matching refs:batches

173 	struct drm_i915_gem_exec_object2 batches[1024];  in whisper()  local
311 memset(batches, 0, sizeof(batches)); in whisper()
313 batches[n].handle = gem_create(fd, 4096); in whisper()
314 gem_write(fd, batches[n].handle, 0, &bbe, sizeof(bbe)); in whisper()
316 execbuf.buffers_ptr = to_user_pointer(batches); in whisper()
337 batches[n].relocs_ptr = to_user_pointer(&inter[n]); in whisper()
338 batches[n].relocation_count = 1; in whisper()
339 gem_write(fd, batches[n].handle, 0, batch, sizeof(batch)); in whisper()
341 old_offset = batches[n].offset; in whisper()
385 gem_write(fd, batches[1023].handle, loc, &pass, sizeof(pass)); in whisper()
390 execbuf.buffers_ptr = to_user_pointer(&batches[n-1]); in whisper()
391 reloc_migrations += batches[n-1].offset != inter[n].presumed_offset; in whisper()
392 batches[n-1].offset = inter[n].presumed_offset; in whisper()
394 batches[n-1].relocation_count = 0; in whisper()
395 batches[n-1].flags |= EXEC_OBJECT_WRITE; in whisper()
396 verify_reloc(fd, batches[n].handle, &inter[n]); in whisper()
400 handle[0] = batches[n-1].handle; in whisper()
401 handle[1] = batches[n].handle; in whisper()
402 batches[n-1].handle = in whisper()
405 batches[n].handle = in whisper()
425 inter[n].presumed_offset = batches[n-1].offset; in whisper()
427 igt_assert_eq_u64(inter[n].presumed_offset, batches[n-1].offset); in whisper()
430 gem_sync(this_fd, batches[n-1].handle); in whisper()
433 batches[n-1].relocation_count = 1; in whisper()
434 batches[n-1].flags &= ~EXEC_OBJECT_WRITE; in whisper()
437 gem_close(this_fd, batches[n-1].handle); in whisper()
438 batches[n-1].handle = handle[0]; in whisper()
440 gem_close(this_fd, batches[n].handle); in whisper()
441 batches[n].handle = handle[1]; in whisper()
454 tmp[1] = batches[0]; in whisper()
455 verify_reloc(fd, batches[0].handle, &inter[0]); in whisper()
463 batches[0] = tmp[1]; in whisper()
504 gem_close(fd, batches[n].handle); in whisper()