1. NAME

drm_helper_crtc_in_use - check if a given CRTC is in a mode_config

2. SYNOPSIS

bool drm_helper_crtc_in_use(struct drm_crtc *  crtc );

3. ARGUMENTS

crtc
    CRTC to check

4. LOCKING

Caller must hold mode config lock.

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

5. RETURNS

True if crtc 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