drm_helper_encoder_in_use(9)
π drm_helper_encoder_in_use (9) β Kernel API Manual
okay so bestie, welcome to the glow-up era of the kernel API manual β¨ this one is about drm_helper_encoder_in_use, and honestly? it's a vibe check for encoders. let's get into it π
π¦ NAME
drm_helper_encoder_in_use β literally the "are you even being used rn" check for a given encoder π
β¨ SYNOPSIS
bool drm_helper_encoder_in_use (struct drm_encoder *encoder );
πΈ ARGUMENTS
encoderβ the encoder we're checking. that's it, that's the whole argument. she's the main character of this function π«Ά
π DESCRIPTION
so what this does is: it checks whether encoder is in use by any connector, as part of the current mode setting output configuration. like, is she part of the group chat or not π¬
β οΈ but bestie, listen β this does not mean the encoder is actually enabled. nope. the DPMS state is tracked separately, so "in use" β "turned on". do not conflate them, i'm begging π
π₯ RETURN
Returns true if encoder is used, and false otherwise. simple. clean. iconic. β
π SEE ALSO
- Kernel file
./drivers/gpu/drm/drm_crtc_helper.coverview(9) - drm_helper_crtc_in_use(9)
- drm_helper_disable_unused_functions(9)
- drm_crtc_helper_set_mode(9)
- drm_crtc_helper_atomic_check(9)
- drm_crtc_helper_set_config(9)
- drm_helper_connector_dpms(9)
- drm_helper_resume_force_mode(9)
- drm_helper_force_disable_all(9)
like, go read the whole friend group, they all support each other fr fr π
that's the whole page, no notes π§ this lil doc lives under ./drivers/gpu/drm, dated October 2026 β slay, see u in the source tree π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms