Name

drm_helper_encoder_in_use — check if a given encoder is in use

Synopsis

bool drm_helper_encoder_in_use (struct drm_encoder * encoder);
 

Arguments

encoder

encoder to check

Description

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.