Lines Matching refs:ext

45 	struct drm_i915_gem_context_create_ext_clone ext = {  in has_ctx_clone()  local
51 .extensions = to_user_pointer(&ext), in has_ctx_clone()
58 struct drm_i915_gem_context_create_ext_clone ext = { in invalid_clone() local
63 .extensions = to_user_pointer(&ext), in invalid_clone()
69 ext.flags = -1; /* Hopefully we won't run out of flags */ in invalid_clone()
71 ext.flags = 0; in invalid_clone()
73 ext.base.next_extension = -1; in invalid_clone()
75 ext.base.next_extension = to_user_pointer(&ext); in invalid_clone()
77 ext.base.next_extension = 0; in invalid_clone()
79 ext.clone_id = -1; in invalid_clone()
81 ext.clone_id = 0; in invalid_clone()
90 struct drm_i915_gem_context_create_ext_clone ext = { in clone_flags() local
96 .extensions = to_user_pointer(&ext), in clone_flags()
104 igt_debug("Cloning %d\n", ext.clone_id); in clone_flags()
107 set.param.ctx_id = ext.clone_id; in clone_flags()
121 set.param.ctx_id = ext.clone_id; in clone_flags()
138 ext.base.next_extension = to_user_pointer(&set); in clone_flags()
140 ext.base.next_extension = 0; in clone_flags()
148 set.param.ctx_id = ext.clone_id; in clone_flags()
153 ext.clone_id = gem_context_create(i915); in clone_flags()
156 gem_context_destroy(i915, ext.clone_id); in clone_flags()
165 struct drm_i915_gem_context_create_ext_clone ext = { in clone_engines() local
171 .extensions = to_user_pointer(&ext), in clone_engines()
183 igt_debug("Cloning %d\n", ext.clone_id); in clone_engines()
187 set.param.ctx_id = ext.clone_id; in clone_engines()
212 set.param.ctx_id = ext.clone_id; in clone_engines()
233 ext.base.next_extension = to_user_pointer(&set); in clone_engines()
236 ext.base.next_extension = 0; in clone_engines()
247 ext.flags = 0; in clone_engines()
249 ext.flags = I915_CONTEXT_CLONE_ENGINES; in clone_engines()
257 ext.clone_id = gem_context_create(i915); in clone_engines()
260 gem_context_destroy(i915, ext.clone_id); in clone_engines()
269 struct drm_i915_gem_context_create_ext_clone ext = { in clone_scheduler() local
275 .extensions = to_user_pointer(&ext), in clone_scheduler()
282 igt_debug("Cloning %d\n", ext.clone_id); in clone_scheduler()
285 set.param.ctx_id = ext.clone_id; in clone_scheduler()
298 set.param.ctx_id = ext.clone_id; in clone_scheduler()
314 ext.base.next_extension = to_user_pointer(&set); in clone_scheduler()
316 ext.base.next_extension = 0; in clone_scheduler()
322 set.param.ctx_id = ext.clone_id; in clone_scheduler()
327 ext.clone_id = gem_context_create(i915); in clone_scheduler()
330 gem_context_destroy(i915, ext.clone_id); in clone_scheduler()
382 struct drm_i915_gem_context_create_ext_clone ext = { in clone_vm() local
388 .extensions = to_user_pointer(&ext), in clone_vm()
405 igt_debug("Cloning %d\n", ext.clone_id); in clone_vm()
408 check_same_vm(i915, ext.clone_id, create.ctx_id); in clone_vm()
412 set.ctx_id = ext.clone_id; in clone_vm()
416 check_same_vm(i915, ext.clone_id, create.ctx_id); in clone_vm()
419 ext.clone_id = gem_context_create(i915); in clone_vm()
422 gem_context_destroy(i915, ext.clone_id); in clone_vm()