drm_atomic_...create_state(9)
π drm_atomic_...create_state(9) π
okay bestie, welcome to the Kernel API Manual β yes we're reading kernel docs for fun now, that's the vibe, that's the era π
β¨ NAME β¨
drm_atomic_helper_bridge_create_state β the default &drm_bridge_funcs.atomic_create_state hook for bridges π«Ά
β¨ SYNOPSIS β¨
struct drm_bridge_state * drm_atomic_helper_bridge_create_state (struct
drm_bridge *bridge );
β¨ ARGUMENTS β¨
bridgeβ the bridge object, your main character for this whole function π¦
β¨ DESCRIPTION β¨
okay so what this does is literally allocate and initialize a pristine drm_bridge_state. brand new, untouched, fresh out the box β¨
and likeβ¦ when is this useful? bestie it's for drivers that don't subclass drm_bridge_state. that's it, that's the whole vibe. if you're not subclassing, this hook is your girl π
β¨ RETURN β¨
it hands you back a pointer to the new bridge state π β or, if things go sideways, an ERR_PTR on failure π no cap, check that pointer.
β¨ SEE ALSO β¨
- Kernel file
./drivers/gpu/drm/drm_atomic_state_helper.c - atomic state reset and initialization(9)
__drm_atomic_helper_crtc_state_init(9)__drm_atomic_helper_crtc_reset(9)drm_atomic_helper_crtc_reset(9)drm_atomic_helper_crtc_create_state(9)__drm_atomic_helper_crtc_duplicate_state(9)drm_atomic_helper_crtc_duplicate_state(9)__drm_atomic_helper_crtc_destroy_state(9)drm_atomic_helper_crtc_destroy_state(9)__drm_atomic_helper_plane_state_init(9)__drm_atomic_helper_plane_reset(9)drm_atomic_helper_plane_reset(9)drm_atomic_helper_plane_create_state(9)__drm_atomic_helper_plane_duplicate_state(9)drm_atomic_helper_plane_duplicate_state(9)__drm_atomic_helper_plane_destroy_state(9)drm_atomic_helper_plane_destroy_state(9)__drm_atomic_helper_connector_state_init(9)__drm_atomic_helper_connector_reset(9)drm_atomic_helper_connector_reset(9)drm_atomic_helper_connector_create_state(9)drm_atomic_helper_connector_tv_margins_reset(9)drm_atomic_helper_connector_tv_reset(9)drm_atomic_helper_connector_tv_check(9)__drm_atomic_helper_connector_duplicate_state(9)drm_atomic_helper_connector_duplicate_state(9)__drm_atomic_helper_connector_destroy_state(9)drm_atomic_helper_connector_destroy_state(9)__drm_atomic_helper_private_obj_create_state(9)__drm_atomic_helper_private_obj_duplicate_state(9)__drm_atomic_helper_bridge_duplicate_state(9)drm_atomic_helper_bridge_duplicate_state(9)drm_atomic_helper_bridge_destroy_state(9)__drm_atomic_helper_bridge_state_init(9)
likeβ¦ that's a whole friend group right there, go say hi π
lowkey the whole list above is your reading list. not me making homework sound cute π
kay that's the page!! this little beauty lives in ./drivers/gpu/drm, it's dated October 2026, and it answers to the name drm_atomic_...create_state(9) β slay, bye 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