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

LOCKING

Caller must hold mode config lock.

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

RETURNS

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