'\" t .\" Title: i915_parse_cmds .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: DRM Drivers .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "I915_PARSE_CMDS" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "DRM Drivers" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" i915_parse_cmds \- parse a submitted batch buffer for privilege violations .SH "SYNOPSIS" .HP \w'int\ i915_parse_cmds('u .BI "int i915_parse_cmds(struct\ intel_engine_cs\ *\ " "ring" ", struct\ drm_i915_gem_object\ *\ " "batch_obj" ", u32\ " "batch_start_offset" ", bool\ " "is_master" ");" .SH "ARGUMENTS" .PP \fIring\fR .RS 4 the ring on which the batch is to execute .RE .PP \fIbatch_obj\fR .RS 4 the batch buffer in question .RE .PP \fIbatch_start_offset\fR .RS 4 byte offset in the batch at which execution starts .RE .PP \fIis_master\fR .RS 4 is the submitting process the drm master? .RE .SH "DESCRIPTION" .PP Parses the specified batch buffer looking for privilege violations as described in the overview\&. .SH "RETURN" .PP non\-zero if the parser finds violations or otherwise fails .SH "AUTHORS" .PP \fBJesse Barnes\fR <\&jesse.barnes@intel.com\&> .br Intel Corporation, .RS 4 Initial version .RE .PP \fBLaurent Pinchart\fR <\&laurent.pinchart@ideasonboard.com\&> .br Ideas on board SPRL, .RS 4 Driver internals .RE .PP \fBDaniel Vetter\fR <\&daniel.vetter@ffwll.ch\&> .br Intel Corporation, .RS 4 Contributions all over the place .RE .SH "COPYRIGHT" .br