'\" t .\" Title: drm_mm_init_scan_with_range .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: DRM Core .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "DRM_MM_INIT_SCAN_WIT" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "DRM Core" .\" ----------------------------------------------------------------- .\" * 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" drm_mm_init_scan_with_range \- initialize range\-restricted lru scanning .SH "SYNOPSIS" .HP \w'void\ drm_mm_init_scan_with_range('u .BI "void drm_mm_init_scan_with_range(struct\ drm_mm\ *\ " "mm" ", unsigned\ long\ " "size" ", unsigned\ " "alignment" ", unsigned\ long\ " "color" ", unsigned\ long\ " "start" ", unsigned\ long\ " "end" ");" .SH "ARGUMENTS" .PP \fImm\fR .RS 4 drm_mm to scan .RE .PP \fIsize\fR .RS 4 size of the allocation .RE .PP \fIalignment\fR .RS 4 alignment of the allocation .RE .PP \fIcolor\fR .RS 4 opaque tag value to use for the allocation .RE .PP \fIstart\fR .RS 4 start of the allowed range for the allocation .RE .PP \fIend\fR .RS 4 end of the allowed range for the allocation .RE .SH "DESCRIPTION" .PP This simply sets up the scanning routines with the parameters for the desired hole\&. Note that there\*(Aqs no need to specify allocation flags, since they only change the place a node is allocated from within a suitable hole\&. .SH "WARNING" .PP As long as the scan list is non\-empty, no other operations than adding/removing nodes to/from the scan list are allowed\&. .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