Lines Matching defs:exec2_list
3904 struct drm_i915_gem_exec_object2 *exec2_list = NULL;
3919 exec2_list = drm_malloc_ab(sizeof(*exec2_list), args->buffer_count);
3920 if (exec_list == NULL || exec2_list == NULL) {
3924 drm_free_large(exec2_list);
3935 drm_free_large(exec2_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;
3946 exec2_list[i].flags = EXEC_OBJECT_NEEDS_FENCE;
3948 exec2_list[i].flags = 0;
3961 ret = i915_gem_do_execbuffer(dev, data, file_priv, &exec2, exec2_list);
3965 exec_list[i].offset = exec2_list[i].offset;
3980 drm_free_large(exec2_list);
3989 struct drm_i915_gem_exec_object2 *exec2_list = NULL;
4002 exec2_list = drm_malloc_ab(sizeof(*exec2_list), args->buffer_count);
4003 if (exec2_list == NULL) {
4008 ret = copy_from_user(exec2_list,
4011 sizeof(*exec2_list) * args->buffer_count);
4015 drm_free_large(exec2_list);
4019 ret = i915_gem_do_execbuffer(dev, data, file_priv, args, exec2_list);
4024 exec2_list,
4025 sizeof(*exec2_list) * args->buffer_count);
4034 drm_free_large(exec2_list);