drm_gem_sim..._plane_state(9)
β¨ drm_gem_sim..._plane_state(9) β¨
okay bestie, so this is a page from the Kernel API Manual and it's literally all about drm_gem_simple_kms_duplicate_shadow_plane_state π like yes the name is a mouthful, we're gonna get through it together, i promise π
π NAME π
drm_gem_simple_kms_duplicate_shadow_plane_state β it duplicates shadow-buffered plane state π¦ no cap, that's the whole vibe.
πΈ SYNOPSIS πΈ
struct drm_plane_state * drm_gem_simple_kms_duplicate_shadow_plane_state
(struct drm_simple_display_pipe *pipe );
β¨ ARGUMENTS β¨
pipeβ the simple display pipe π«Ά that's it, that's the argument, she's lowkey simple (pun intended)
π DESCRIPTION π
so this function is out here implementing struct drm_simple_display_funcs.duplicate_plane_state for shadow-buffered planes π₯ iconic behavior honestly.
the tea β is that it does not duplicate existing mappings of the shadow buffers. like, not even a little. those mappings are maintained during the atomic commit by the plane's prepare_fb and cleanup_fb helpers β so they're being looked after elsewhere, don't worry your pretty head about it π
β RETURN β
- a pointer to a new plane state on success π
- or
NULLotherwise π (it happens, we move on)
π¦ SEE ALSO π¦
go off, read the whole friend group π:
- Kernel file
./drivers/gpu/drm/drm_gem_atomic_helper.c overview(9)drm_gem_plane_helper_prepare_fb(9)__drm_gem_duplicate_shadow_plane_state(9)drm_gem_duplicate_shadow_plane_state(9)__drm_gem_destroy_shadow_plane_state(9)drm_gem_destroy_shadow_plane_state(9)__drm_gem_reset_shadow_plane(9)drm_gem_reset_shadow_plane(9)drm_gem_begin_shadow_fb_access(9)drm_gem_end_shadow_fb_access(9)drm_gem_simple_kms_begin_shadow_fb_access(9)drm_gem_simple_kms_end_shadow_fb_access(9)drm_gem_simple_kms_reset_shadow_plane(9)drm_gem_simple_kms_destroy_shadow_plane_state(9)
π and that's the whole page bestie, you ate that π β¨
mwah π this came from ./drivers/gpu/drm, dated October 2026, and she's filed under drm_gem_sim..._plane_state(9) β go forth and duplicate those shadow plane states responsibly, ily π«Άππ
π¦ 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