Check if a given encoder is in use
bool drm_helper_encoder_in_use(struct drm_encoder * encoder);
encoder
encoder to check
Checks whether encoder 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 encoder 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