• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/gpu/drm/i915/

Lines Matching refs:exec_list

3416 i915_gem_get_relocs_from_user(struct drm_i915_gem_exec_object2 *exec_list,
3425 if (reloc_count + exec_list[i].relocation_count < reloc_count)
3427 reloc_count += exec_list[i].relocation_count;
3439 user_relocs = (void __user *)(uintptr_t)exec_list[i].relocs_ptr;
3443 exec_list[i].relocation_count *
3451 reloc_index += exec_list[i].relocation_count;
3458 i915_gem_put_relocs_to_user(struct drm_i915_gem_exec_object2 *exec_list,
3472 user_relocs = (void __user *)(uintptr_t)exec_list[i].relocs_ptr;
3476 exec_list[i].relocation_count *
3484 reloc_count += exec_list[i].relocation_count;
3551 struct drm_i915_gem_exec_object2 *exec_list)
3612 ret = i915_gem_get_relocs_from_user(exec_list, args->buffer_count,
3637 exec_list[i].handle);
3640 exec_list[i].handle, i);
3677 &exec_list[i],
3682 reloc_index += exec_list[i].relocation_count;
3698 exec_list[i].flags & EXEC_OBJECT_NEEDS_FENCE &&
3739 exec_offset = exec_list[args->buffer_count - 1].offset;
3807 exec_list[i].handle);
3878 ret2 = i915_gem_put_relocs_to_user(exec_list, args->buffer_count,
3903 struct drm_i915_gem_exec_object *exec_list = NULL;
3918 exec_list = drm_malloc_ab(sizeof(*exec_list), args->buffer_count);
3920 if (exec_list == NULL || exec2_list == NULL) {
3923 drm_free_large(exec_list);
3927 ret = copy_from_user(exec_list,
3930 sizeof(*exec_list) * args->buffer_count);
3934 drm_free_large(exec_list);
3940 exec2_list[i].handle = exec_list[i].handle;
3941 exec2_list[i].relocation_count = exec_list[i].relocation_count;
3942 exec2_list[i].relocs_ptr = exec_list[i].relocs_ptr;
3943 exec2_list[i].alignment = exec_list[i].alignment;
3944 exec2_list[i].offset = exec_list[i].offset;
3965 exec_list[i].offset = exec2_list[i].offset;
3969 exec_list,
3970 sizeof(*exec_list) * args->buffer_count);
3979 drm_free_large(exec_list);