drm_atomic_...licate_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_atomic_helper_plane_duplicate_state(9) πŸ’…

okay so this is a page from the Kernel API Manual (yes bestie, kernel β€” like the actual Linux kernel, we're in the big leagues now πŸŽ€) and it's all about one little function that does one little job. and honestly? she ate. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct drm_plane_state * drm_atomic_helper_plane_duplicate_state (struct
drm_plane *plane );

like literally that's the whole thing. a function, takes a pointer, gives you a pointer back. iconic behaviour, no notes.


🌸 ARGUMENTS 🌸

  • plane β€” the drm plane, bestie. that's the whole description. it's a plane. drm-flavoured. πŸ›«

πŸ’– DESCRIPTION πŸ’–

so this is the default plane state duplicate hook β€” say that five times fast, i dare you 😭 β€” and it's specifically for drivers which don't have their own subclassed plane state structure. meaning: if you went and made your own fancy custom plane-state struct, this isn't your girl, go write your own hook. but if you're out here with the plain-vanilla struct? she's literally here for you. 🫢

duplicate hook, aka "copy the state so atomic commits can do their little transactional thing without trashing the live state". that's the vibe. that's the function. πŸ’…

ngl this page is short because the function is short. not every icon needs a trilogy. some just drop one single and leave. πŸ‘‘

⭐ SEE ALSO ⭐

okay this list is long and i'm obsessed β€” it's basically the whole atomic state helper family reunion. every one of them, in order, exactly as written:

  • 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_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)
  • drm_atomic_helper_bridge_create_state(9)

like the crtc girlies, the plane girlies, the connector girlies (with their whole tv subplot 🌈), the private_obj girlies, and the bridge girlies all showed up. it's giving family dinner. it's giving community. i love it here. πŸ’œ

iykyk: the double-underscore ones are the internal ones. the ones without are the public ones. the list just gives you both, unbothered, together. 🧚

πŸŽ€ the cute sign-off πŸŽ€

this page lives in ./drivers/gpu/drm, dated October 2026, and it's page drm_atomic_...licate_state(9) of the Kernel API Manual. slay, documented, periodt. 🌟

πŸ“¦ where this page comes from