• Home
  • Raw
  • Download

Lines Matching refs:execbuf

45 	struct drm_i915_gem_execbuffer2 execbuf;  in store_dword()  local
52 memset(&execbuf, 0, sizeof(execbuf)); in store_dword()
53 execbuf.buffers_ptr = to_user_pointer(obj); in store_dword()
54 execbuf.buffer_count = 2; in store_dword()
55 execbuf.flags = e->flags; in store_dword()
57 execbuf.flags |= I915_EXEC_SECURE; in store_dword()
89 gem_execbuf(fd, &execbuf); in store_dword()
105 struct drm_i915_gem_execbuffer2 execbuf; in store_cachelines() local
116 memset(&execbuf, 0, sizeof(execbuf)); in store_cachelines()
117 execbuf.buffer_count = flags & PAGES ? NCACHELINES + 1 : 2; in store_cachelines()
118 execbuf.flags = e->flags; in store_cachelines()
120 execbuf.flags |= I915_EXEC_SECURE; in store_cachelines()
122 obj = calloc(execbuf.buffer_count, sizeof(*obj)); in store_cachelines()
124 for (i = 0; i < execbuf.buffer_count; i++) in store_cachelines()
128 execbuf.buffers_ptr = to_user_pointer(obj); in store_cachelines()
134 reloc[n].target_handle = obj[n % (execbuf.buffer_count-1)].handle; in store_cachelines()
159 gem_execbuf(fd, &execbuf); in store_cachelines()
171 for (unsigned n = 0; n < execbuf.buffer_count; n++) in store_cachelines()
184 struct drm_i915_gem_execbuffer2 execbuf; in store_all() local
192 memset(&execbuf, 0, sizeof(execbuf)); in store_all()
193 execbuf.buffers_ptr = to_user_pointer(obj); in store_all()
194 execbuf.buffer_count = 2; in store_all()
196 execbuf.flags |= I915_EXEC_SECURE; in store_all()
229 execbuf.flags &= ~ENGINE_MASK; in store_all()
230 execbuf.flags |= engine->flags; in store_all()
244 execbuf.batch_start_offset = j*sizeof(batch); in store_all()
245 gem_execbuf(fd, &execbuf); in store_all()
259 execbuf.batch_start_offset = j*sizeof(batch); in store_all()
260 gem_execbuf(fd, &execbuf); in store_all()
268 execbuf.batch_start_offset = 2*i*sizeof(batch); in store_all()
272 execbuf.flags &= ~ENGINE_MASK; in store_all()
273 execbuf.flags |= permuted[j]; in store_all()
274 gem_execbuf(fd, &execbuf); in store_all()
277 execbuf.batch_start_offset = (2*i+1)*sizeof(batch); in store_all()
278 execbuf.flags &= ~ENGINE_MASK; in store_all()
279 execbuf.flags |= engines[i]; in store_all()
280 gem_execbuf(fd, &execbuf); in store_all()