drm_helper_encoder_in_use9
Check if a given encoder is in use
Usage
bool drm_helper_encoder_in_use(struct
drm_encoder
*
encoder);
Arguments
encoder
encoder to check
Overview
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.
Returns
True if encoder is used, false otherwise.