drm_gem_reset_shadow_plane(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_gem_reset_shadow_plane(9)

okay so bestie, welcome to the Kernel API Manual β€” this one's a little function from the drm_gem_reset_shadow_plane(9) page and honestly? it's giving "small but crucial" ✨


🌸 NAME 🌸

drm_gem_reset_shadow_plane β€” resets a shadow-buffered plane πŸŽ€


✨ SYNOPSIS ✨

void drm_gem_reset_shadow_plane (struct drm_plane *plane );

like, that's the whole signature. void return, one pointer, no drama πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • plane β€” the plane. that's it, that's the argument. it's the plane, the main character πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” this function implements struct drm_plane_funcs.reset_plane for shadow-buffered planes. it's literally the reset hook, doing reset-hook things πŸ”₯

it assumes the current plane state is of type struct drm_shadow_plane (yes, assumes β€” no vibe check, no validation, just trust πŸ™ˆ) and then it allocates the new state of this type. new state, who dis πŸ’«

ngl, the whole "assumes the current plane state to be of type" thing is doing a lot of heavy lifting here β€” so keep that in mind if you're passing it something else 🫢

🌈 SEE ALSO 🌈

like, go read these too, they're all part of the same friend group πŸ’œ


🧚 and that's the whole page, bestie! this lil gem lives in ./drivers/gpu/drm and the page is dated October 2026 β€” so yeah, future vibes only ⭐ slay, go reset some planes πŸ’…πŸ«Ά

πŸ“¦ where this page comes from