1. NAME

drm_helper_encoder_in_use - check if a given encoder is in use

2. SYNOPSIS

bool drm_helper_encoder_in_use(struct drm_encoder *  encoder );

3. ARGUMENTS

encoder
    encoder to check

4. LOCKING

Caller must hold mode config lock.

Walk encodersAqs DRM deviceAqs mode_config and see if itAqs in use.

5. RETURNS

True if encoder is part of the mode_config, false otherwise.

6. AUTHORS

Jesse Barnes <>
Intel Corporation,
    Initial version

Laurent Pinchart <>
Ideas on board SPRL,
    Driver internals

7. COPYRIGHT