i915_parse_cmds(9)

i915_parse_cmds9

Parse a submitted batch buffer for privilege violations

Usage

int i915_parse_cmds(struct intel_engine_cs * ring, struct drm_i915_gem_object * batch_obj, u32 batch_start_offset, bool is_master);

Arguments

ring

the ring on which the batch is to execute

batch_obj

the batch buffer in question

batch_start_offset

byte offset in the batch at which execution starts

is_master

is the submitting process the drm master?

Overview

Parses the specified batch buffer looking for privilege violations as described in the overview.

Return

non-zero if the parser finds violations or otherwise fails

Authors

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.