carta
drm_helper_crtc_in_use(9)

drm_helper_crtc_in_use9

Check if a given crtc is in a mode_config

Usage

bool drm_helper_crtc_in_use(struct drm_crtc * crtc);

Arguments

crtc

CRTC to check

Overview

Checks whether crtc 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 crtc 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.