drm_atomic_..._for_encoder(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ drm_atomic_get_new_crtc_for_encoder(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” this is the drm_atomic_..._for_encoder(9) page, and it's lowkey giving β€œlet me find your new crtc” energy. πŸ’…βœ¨


🌸 NAME 🌸

drm_atomic_get_new_crtc_for_encoder β€” Get new crtc for an encoder. That's the whole name, and yes, it ate. πŸ’–


✨ SYNOPSIS ✨

struct drm_crtc * drm_atomic_get_new_crtc_for_encoder (struct
drm_atomic_commit *state , struct drm_encoder *encoder );

πŸ¦‹ ARGUMENTS πŸ¦‹

two lil arguments, both important, no cap:

  • state β€” Atomic state. The whole atomic situation. πŸ’«
  • encoder β€” The encoder to fetch the crtc state for. Yes, that one. 🫢

πŸ’– DESCRIPTION πŸ’–

okay so this function's entire personality is: it finds and returns the crtc that will be connected to encoder as specified by state. That's it. That's the vibe. It's literally matching encoders to their new crtc, and honestly? iconic behavior. πŸ”₯


🌈 RETURN 🌈

It hands you the new crtc connected to encoder, or NULL if the encoder is not connected. Simple, clean, slay. πŸ«ΆπŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

bestie, the cross-reference list is LONG and we are not skipping a single one. every single ref is here, exactly as the manual says:


mwah πŸ’‹ β€” source/version: ./drivers/gpu/drm Β· date: October 2026 Β· page: drm_atomic_..._for_encoder(9). That's the footer folded into a cute lil goodbye bestie πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from