Lines Matching defs:exec

500 				  struct drm_i915_gem_exec_object2 *exec,
522 total += exec[i].relocation_count;
537 user_relocs = (void __user *)(uintptr_t)exec[i].relocs_ptr;
540 exec[i].relocation_count * sizeof(*reloc))) {
547 total += exec[i].relocation_count;
560 exec[i].handle));
563 exec[i].handle, i);
569 obj->exec_handle = exec[i].handle;
570 obj->exec_entry = &exec[i];
581 int offset = obj->exec_entry - exec;
632 i915_gem_check_execbuffer(struct drm_i915_gem_execbuffer2 *exec)
634 return ((exec->batch_start_offset | exec->batch_len) & 0x7) == 0;
638 validate_exec_list(struct drm_i915_gem_exec_object2 *exec,
648 char __user *ptr = (char __user *)(uintptr_t)exec[i].relocs_ptr;
657 if (exec[i].relocation_count> relocs_max - relocs_total)
659 relocs_total += exec[i].relocation_count;
661 length = exec[i].relocation_count *
745 struct drm_i915_gem_exec_object2 *exec)
765 ret = validate_exec_list(exec, args->buffer_count);
912 exec[i].handle));
915 exec[i].handle, i);
923 obj, exec[i].handle, i);
929 obj->exec_handle = exec[i].handle;
930 obj->exec_entry = &exec[i];
956 exec,
1058 * Legacy execbuffer just creates an exec2 list from the original exec object
1076 /* Copy in the exec list from userland */
1080 DRM_DEBUG("Failed to allocate exec list for %d buffers\n",
1091 DRM_DEBUG("copy %d exec entries failed %d\n",
1123 /* Copy the new buffer offsets back to the user's exec list. */
1133 DRM_DEBUG("failed to copy %d exec entries "
1160 DRM_DEBUG("Failed to allocate exec list for %d buffers\n",
1169 DRM_DEBUG("copy %d exec entries failed %d\n",
1177 /* Copy the new buffer offsets back to the user's exec list. */
1184 DRM_DEBUG("failed to copy %d exec entries "