carta
drm_fb_helper_hotplug_event(9)

drm_fb_helper_hotplug_event9

Respond to a hotplug notification by probing all the outputs attached to the fb

Usage

int drm_fb_helper_hotplug_event(struct drm_fb_helper * fb_helper);

Arguments

fb_helper

the drm_fb_helper

Overview

Scan the connectors attached to the fb_helper and try to put together a setup after *notification of a change in output configuration.

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's hotplug interrupt).

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.

Returns

0 on success and a non-zero error code otherwise.

Authors

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.