'\" t .\" Title: drm_fb_helper_hotplug_event .\" 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_FB_HELPER_HOTPLU" "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_fb_helper_hotplug_event \- respond to a hotplug notification by probing all the outputs attached to the fb .SH "SYNOPSIS" .HP \w'int\ drm_fb_helper_hotplug_event('u .BI "int drm_fb_helper_hotplug_event(struct\ drm_fb_helper\ *\ " "fb_helper" ");" .SH "ARGUMENTS" .PP \fIfb_helper\fR .RS 4 the drm_fb_helper .RE .SH "DESCRIPTION" .PP Scan the connectors attached to the fb_helper and try to put together a setup after *notification of a change in output configuration\&. .PP Called at runtime, takes the mode config locks to be able to check/change the modeset configuration\&. Must be run from process context (which usually means either the output polling work or a work item launched from the driver\*(Aqs hotplug interrupt)\&. .PP Note that the driver must ensure that this is only called _after_ the fb has been fully set up, i\&.e\&. after the call to drm_fb_helper_initial_config\&. .SH "RETURNS" .PP 0 on success and a non\-zero error code 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