SYNOPSIS
- void drm_atomic_helper_commit_modeset_disables(struct drm_device * dev, struct drm_atomic_state * old_state);
ARGUMENTS
dev
-
- DRM device
old_state
- atomic state object with old state structures
DESCRIPTION
This function shuts down all the outputs that need to be shut down and prepares them (if required) with the new mode.
For compatibility with legacy crtc helpers this should be called before drm_atomic_helper_commit_planes, which is what the default commit function does. But drivers with different needs can group the modeset commits together and do the plane commits at the end. This is useful for drivers doing runtime PM since planes updates then only happen when the CRTC is actually enabled.
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