Disable unused objects
void drm_helper_disable_unused_functions(struct drm_device * dev);
dev
DRM device
This function walks through the entire mode setting configuration of dev. It will remove any crtc links of unused encoders and encoder links of disconnected connectors. Then it will disable all unused encoders and crtcs either by calling their disable callback if available or by calling their dpms callback with DRM_MODE_DPMS_OFF.
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