drm_helper_encoder_in_use(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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.c overview(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