__drm_atomi..._plane_reset(9)
π
__drm_atomic_helper_plane_reset β the Kernel API Manual glow-up π
okay so bestie, welcome to the Kernel API Manual entry for __drm_atomi..._plane_reset(9) β yes the title got truncated by the terminal, no it's not a glitch, it's just living its best abbreviated life π
β¨ NAME β¨
__drm_atomic_helper_plane_reset β reset state on plane π¦
β¨ SYNOPSIS β¨
void __drm_atomic_helper_plane_reset (struct drm_plane *plane , struct
drm_plane_state *plane_state );
β¨ ARGUMENTS β¨
planeβ the drm plane, your main character πplane_stateβ the plane state you're gonna assign. hand it over, bestie π«Ά
β¨ DESCRIPTION β¨
so what this does is it initializes that freshly-allocated plane_state and then assigns it straight to the drm_plane->state pointer of plane. lowkey iconic β¨
when do you need it? usually when you're initializing the drivers, or when it gets called from the drm_plane_funcs.reset hook. iykyk π
and the whole point β the reason this exists at all β is that it's useful for drivers that subclass the plane state. like, if you're doing the fancy custom-struct thing, this is your girl π₯
π SEE ALSO π
grab a snack because this list is long and honestly it ate π
- 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_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)drm_atomic_helper_bridge_create_state(9)
ngl the whole plane / crtc / connector / bridge family is giving "one big friend group" energy and this function is literally just the plane one's reset moment. go read the neighbours, they all slay π
mwah, that's the page π it lives over in ./drivers/gpu/drm, dated October 2026, and it's brought to you by the Kernel API Manual β 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