Lines Matching refs:gem_exec

55 	struct drm_i915_gem_exec_object2 gem_exec[1];  in exec()  local
66 gem_exec[0].handle = handle; in exec()
67 gem_exec[0].relocation_count = 1; in exec()
68 gem_exec[0].relocs_ptr = to_user_pointer(gem_reloc); in exec()
69 gem_exec[0].alignment = 0; in exec()
70 gem_exec[0].offset = 0; in exec()
71 gem_exec[0].flags = 0; in exec()
72 gem_exec[0].rsvd1 = 0; in exec()
73 gem_exec[0].rsvd2 = 0; in exec()
75 execbuf.buffers_ptr = to_user_pointer(gem_exec); in exec()
93 struct drm_i915_gem_exec_object2 *gem_exec; in many_exec() local
98 gem_exec = calloc(num_exec+1, sizeof(*gem_exec)); in many_exec()
100 igt_assert(gem_exec && gem_reloc); in many_exec()
103 gem_exec[n].handle = gem_create(fd, 4096); in many_exec()
104 if (gem_exec[n].handle > max_handle) in many_exec()
105 max_handle = gem_exec[n].handle; in many_exec()
106 gem_exec[n].relocation_count = 0; in many_exec()
107 gem_exec[n].relocs_ptr = 0; in many_exec()
108 gem_exec[n].alignment = 0; in many_exec()
109 gem_exec[n].offset = 0; in many_exec()
110 gem_exec[n].flags = 0; in many_exec()
111 gem_exec[n].rsvd1 = 0; in many_exec()
112 gem_exec[n].rsvd2 = 0; in many_exec()
115 gem_exec[n].handle = batch; in many_exec()
116 gem_exec[n].relocation_count = num_reloc; in many_exec()
117 gem_exec[n].relocs_ptr = to_user_pointer(gem_reloc); in many_exec()
131 target = gem_exec[target].handle; in many_exec()
142 execbuf.buffers_ptr = to_user_pointer(gem_exec); in many_exec()
157 gem_close(fd, gem_exec[n].handle); in many_exec()
159 free(gem_exec); in many_exec()