SYNOPSIS
- int drm_atomic_set_mode_for_crtc(struct drm_crtc_state * state, struct drm_display_mode * mode);
ARGUMENTS
state
-
- the CRTC whose incoming state to update
mode
- kernel-internal mode to use for the CRTC, or NULL to disable
DESCRIPTION
Set a mode (originating from the kernel) on the desired CRTC state. Does not change any other state properties, including enable, active, or mode_changed.
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