SYNOPSIS
- int drm_atomic_helper_prepare_planes(struct drm_device * dev, struct drm_atomic_state * state);
ARGUMENTS
dev
-
- DRM device
state
- atomic state object with new state structures
DESCRIPTION
This function prepares plane state, specifically framebuffers, for the new configuration. If any failure is encountered this function will call ->cleanup_fb on any already successfully prepared framebuffer.
RETURNS
0 on success, negative error code 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