drm_atomic_helper_connector_dpms(9) connector dpms helper implementation

SYNOPSIS

int drm_atomic_helper_connector_dpms(struct drm_connector * connector, int mode);

ARGUMENTS

connector

affected connector

mode

DPMS mode

DESCRIPTION

This is the main helper function provided by the atomic helper framework for implementing the legacy DPMS connector interface. It computes the new desired ->active state for the corresponding CRTC (if the connector is enabled) and updates it.

RETURNS

Returns 0 on success, negative errno numbers on failure.

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

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT