drm_helper_crtc_in_use(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is drm_helper_crtc_in_use(9) from the Kernel API Manual, and it has one very specific job: check if a given CRTC is in a mode_config. That’s the whole vibe. No cap. πŸ’…

✨ SYNOPSIS ✨

bool drm_helper_crtc_in_use (struct drm_crtc *crtc );

πŸŽ€ ARGUMENTS πŸŽ€

  • crtc β€” the CRTC to check. That’s it. That’s the bestie we’re checking on. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

It checks whether crtc is with the current mode setting output configuration in use by any connector. Yes, bestie, that’s the actual sentence β€” we’re keeping it exactly like that. πŸ’–

Important vibe check: this does not mean that it is actually enabled, since the DPMS state is tracked separately. β€œIn use” β‰  β€œenabled,” okay? πŸ’€

πŸ’… RETURN πŸ’…

  • true if crtc is used.
  • false otherwise.

It’s giving simple boolean, periodt. ✨

🌈 SEE ALSO 🌈

Catch you later, bestie πŸ’– β€” this page is from ./drivers/gpu/drm, dated October 2026, and it’s serving drm_helper_crtc_in_use(9) realness. Periodt. πŸŽ€

πŸ“¦ where this page comes from