vmw_du_plane_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_du_plane_reset β€” kernel API manual, bestie edition ✨

Okay so picture this: it's a kernel API manual</p> page, the star of the show is vmw_du_plane_reset(9), and she's here to explain one (1) little function. Let's get into it 🫢


✨ NAME ✨

vmw_du_plane_reset β€” creates a blank vmw plane state 🎨✨ (yes, blank, like a fresh canvas, a clean slate, a cleared group chat)


🌸 SYNOPSIS 🌸

void vmw_du_plane_reset (struct drm_plane *plane );

That's it. That's the whole signature. No hidden extra params, no surprise twist πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • plane β€” the drm plane, literally the main character of this whole operation πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

So what she does is, she resets the atomic state for plane by:

  1. freeing the state pointer β€” and ngl, that pointer might be NULL, like no cap, for example at driver load time when nothing's been set up yet πŸ™ˆ (so don't panic, that's normal)
  2. allocating a new empty state object β€” fresh out the box, squeaky clean, zero vibes attached ✨

Lowkey that's the whole glow-up: yeet the old state, birth a new blank one. Periodt. πŸŽ€

Heads up bestie β€” the original page explicitly calls out that the state pointer could be NULL (e.g. at driver load time), so that case is expected, not a bug πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

The official friend group (iykyk) β€” and yes, I'm listing every single one because we don't do "etc." in this house 🌈


Okay that's the whole page, mwah πŸ’‹ Signing off from ./drivers/gpu/drm/vmwgfx 🧚 β€” dated October 2026, so she's a lil futuristic, we love that for her. Go forth and reset some plane state, bestie, you're gonna slay πŸ”₯πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from