SYNOPSIS
- int drm_atomic_helper_resume(struct drm_device * dev, struct drm_atomic_state * state);
ARGUMENTS
dev
-
- DRM device
state
- atomic state to resume to
DESCRIPTION
Calls drm_mode_config_reset to synchronize hardware and software states, grabs all modeset locks and commits the atomic state object. This can be used in conjunction with the drm_atomic_helper_suspend helper to implement suspend/resume for drivers that support atomic mode-setting.
RETURNS
0 on success or a 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