'\" t .\" Title: drm_mode_prune_invalid .\" 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_MODE_PRUNE_INVAL" "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_mode_prune_invalid \- remove invalid modes from mode list .SH "SYNOPSIS" .HP \w'void\ drm_mode_prune_invalid('u .BI "void drm_mode_prune_invalid(struct\ drm_device\ *\ " "dev" ", struct\ list_head\ *\ " "mode_list" ", bool\ " "verbose" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 DRM device .RE .PP \fImode_list\fR .RS 4 list of modes to check .RE .PP \fIverbose\fR .RS 4 be verbose about it .RE .SH "DESCRIPTION" .PP This helper function can be used to prune a display mode list after validation has been completed\&. All modes who\*(Aqs status is not MODE_OK will be removed from the list, and if \fIverbose\fR the status code and mode name is also printed to dmesg\&. .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