'\" t
.\" Title: drm_mode_parse_command_line_for_connector
.\" 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_PARSE_COMMA" "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_parse_command_line_for_connector \- parse command line modeline for connector
.SH "SYNOPSIS"
.HP \w'bool\ drm_mode_parse_command_line_for_connector('u
.BI "bool drm_mode_parse_command_line_for_connector(const\ char\ *\ " "mode_option" ", struct\ drm_connector\ *\ " "connector" ", struct\ drm_cmdline_mode\ *\ " "mode" ");"
.SH "ARGUMENTS"
.PP
\fImode_option\fR
.RS 4
optional per connector mode option
.RE
.PP
\fIconnector\fR
.RS 4
connector to parse modeline for
.RE
.PP
\fImode\fR
.RS 4
preallocated drm_cmdline_mode structure to fill out
.RE
.SH "DESCRIPTION"
.PP
This parses
\fImode_option\fR
command line modeline for modes and options to configure the connector\&. If
\fImode_option\fR
is NULL the default command line modeline in fb_mode_option will be parsed instead\&.
.PP
This uses the same parameters as the fb modedb\&.c, except for an extra force\-enable, force\-enable\-digital and force\-disable bit at the end:
.PP
x[M][R][\-][@][i][m][eDd]
.PP
The intermediate drm_cmdline_mode structure is required to store additional options from the command line modline like the force\-enabel/disable flag\&.
.SH "RETURNS"
.PP
True if a valid modeline has been parsed, false otherwise\&.
.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