i915_parse_cmds — parse a submitted batch buffer for privilege violations
int i915_parse_cmds ( | struct intel_context * ctx, |
| struct intel_engine_cs * ring, | |
| struct drm_i915_gem_object * batch_obj, | |
| u64 user_batch_start, | |
| u32 batch_start_offset, | |
| u32 batch_len, | |
| struct drm_i915_gem_object * shadow_batch_obj, | |
u64 shadow_batch_start); |
ctxthe context in which the batch is to execute
ringthe ring on which the batch is to execute
batch_objthe batch buffer in question
user_batch_startCanonical base address of original user batch
batch_start_offsetbyte offset in the batch at which execution starts
batch_lenlength of the commands in batch_obj
shadow_batch_objcopy of the batch buffer in question
shadow_batch_startCanonical base address of shadow_batch_obj