drm_atomic_..._for_encoder(9)
π 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:
Kernel file ./drivers/gpu/drm/drm_atomic.c state lifetime(9)drm_crtc_commit_wait(9)drm_atomic_commit_default_release(9)drm_atomic_commit_init(9)drm_atomic_commit_alloc(9)drm_atomic_commit_default_clear(9)drm_atomic_commit_clear(9)__drm_atomic_commit_free(9)drm_atomic_get_crtc_state(9)drm_atomic_get_plane_state(9)drm_atomic_get_colorop_state(9)drm_atomic_get_old_colorop_state(9)drm_atomic_get_new_colorop_state(9)drm_atomic_plane_check(9)handling driver private state(9)drm_atomic_private_obj_init(9)drm_atomic_private_obj_fini(9)drm_atomic_get_private_obj_state(9)drm_atomic_get_old_private_obj_state(9)drm_atomic_get_new_private_obj_state(9)drm_atomic_get_old_connector_for_encoder(9)drm_atomic_get_new_connector_for_encoder(9)drm_atomic_get_connector_for_encoder(9)drm_atomic_get_old_crtc_for_encoder(9)drm_atomic_get_connector_state(9)drm_atomic_get_bridge_state(9)drm_atomic_get_old_bridge_state(9)drm_atomic_get_new_bridge_state(9)drm_atomic_add_encoder_bridges(9)drm_atomic_add_affected_connectors(9)drm_atomic_add_affected_planes(9)drm_atomic_add_affected_colorops(9)drm_atomic_check_only(9)drm_atomic_commit(9)drm_atomic_nonblocking_commit(9)drm_atomic_print_new_state(9)drm_state_dump(9)
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
- 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