Lines Matching refs:exec

515 				  struct drm_i915_gem_exec_object2 *exec,
536 total += exec[i].relocation_count;
553 user_relocs = (void __user *)(uintptr_t)exec[i].relocs_ptr;
556 exec[i].relocation_count * sizeof(*reloc))) {
571 for (j = 0; j < exec[i].relocation_count; j++) {
582 total += exec[i].relocation_count;
595 exec[i].handle));
598 exec[i].handle, i);
604 obj->exec_handle = exec[i].handle;
605 obj->exec_entry = &exec[i];
614 int offset = obj->exec_entry - exec;
707 i915_gem_check_execbuffer(struct drm_i915_gem_execbuffer2 *exec)
709 return ((exec->batch_start_offset | exec->batch_len) & 0x7) == 0;
713 validate_exec_list(struct drm_i915_gem_exec_object2 *exec,
727 char __user *ptr = (char __user *)(uintptr_t)exec[i].relocs_ptr;
734 if (exec[i].relocation_count > relocs_max - relocs_total)
736 relocs_total += exec[i].relocation_count;
738 length = exec[i].relocation_count *
839 struct drm_i915_gem_exec_object2 *exec)
860 ret = validate_exec_list(exec, args->buffer_count,
1008 exec[i].handle));
1011 exec[i].handle, i);
1019 obj, exec[i].handle, i);
1025 obj->exec_handle = exec[i].handle;
1026 obj->exec_entry = &exec[i];
1046 exec,
1155 * Legacy execbuffer just creates an exec2 list from the original exec object
1173 /* Copy in the exec list from userland */
1178 DRM_DEBUG("Failed to allocate exec list for %d buffers\n",
1188 DRM_DEBUG("copy %d exec entries failed %d\n",
1220 /* Copy the new buffer offsets back to the user's exec list. */
1229 DRM_DEBUG("failed to copy %d exec entries "
1258 DRM_DEBUG("Failed to allocate exec list for %d buffers\n",
1267 DRM_DEBUG("copy %d exec entries failed %d\n",
1275 /* Copy the new buffer offsets back to the user's exec list. */
1281 DRM_DEBUG("failed to copy %d exec entries "