carta
drm_helper_encoder_in_use(9)

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.

Authors

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

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.