drm_helper_encoder_in_use
Prev | Modeset Helper Functions Reference | Next

## 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

## LOCKING

Caller must hold mode config lock.

Walk `encoders`'s DRM device's mode_config and see if it's in use.

## RETURNS

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

Prev | Up | Next
drm_helper_probe_single_connector_modes | Home | drm_helper_crtc_in_use