Name

drm_helper_crtc_in_use — check if a given CRTC is in a mode_config

Synopsis

bool drm_helper_crtc_in_use (struct drm_crtc * crtc);
 

Arguments

crtc

CRTC to check

Description

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.