drm_atomic_...licate_state(9)
π 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β thedrm 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.catomic 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
- 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