Check if a given crtc is in a mode_config
bool drm_helper_crtc_in_use(struct drm_crtc * crtc);
crtc
CRTC to check
Checks whether crtc is with the current mode setting output configuration in use by any connector. This doesn't mean that it is actually enabled since the DPMS state is tracked separately.
True if crtc is used, false otherwise.
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