Name

intel_execlists_submission — submit a batchbuffer for execution, Execlists style

Synopsis

int intel_execlists_submission (struct drm_device * dev,
 struct drm_file * file,
 struct intel_engine_cs * ring,
 struct intel_context * ctx,
 struct drm_i915_gem_execbuffer2 * args,
 struct list_head * vmas,
 struct drm_i915_gem_object * batch_obj,
 u64 exec_start,
 u32 dispatch_flags);
 

Arguments

dev

DRM device.

file

DRM file.

ring

Engine Command Streamer to submit to.

ctx

Context to employ for this submission.

args

execbuffer call arguments.

vmas

list of vmas.

batch_obj

the batchbuffer to submit.

exec_start

batchbuffer start virtual address pointer.

dispatch_flags

translated execbuffer call flags.

Description

This is the evil twin version of i915_gem_ringbuffer_submission. It abstracts away the submission details of the execbuffer ioctl call.

Return

non-zero if the submission fails.