drm_atomic_set_mode_prop_for_crtc(9) set mode for CRTC

SYNOPSIS

int drm_atomic_set_mode_prop_for_crtc(struct drm_crtc_state * state, struct drm_property_blob * blob);

ARGUMENTS

state

the CRTC whose incoming state to update

blob

pointer to blob property to use for mode

DESCRIPTION

Set a mode (originating from a blob property) on the desired CRTC state. This function will take a reference on the blob property for the CRTC state, and release the reference held on the state's existing mode property, if any was set.

RETURNS

Zero on success, error code on failure. Cannot return -EDEADLK.

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