drm_atomic_helper_disable_all — disable all currently active outputs
int drm_atomic_helper_disable_all ( | struct drm_device * dev, |
struct drm_modeset_acquire_ctx * ctx) ; |
Loops through all connectors, finding those that aren't turned off and then turns them off by setting their DPMS mode to OFF and deactivating the CRTC that they are connected to.
This is used for example in suspend/resume to disable all currently active functions when suspending.
Note that if callers haven't already acquired all modeset locks this might
return -EDEADLK, which must be handled by calling drm_modeset_backoff
.