vmw_cursor_plane_cleanup_fb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_cursor_plane_cleanup_fb(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so picture this: you're deep in the kernel, in the vmwgfx corner of the DRM world, and somebody hands you a cursor plane that needs its post-atomic glow-up cleaned away. that's this function. it's the cleanup girlie. she tidies up after the party. ✨


✨ NAME ✨

vmw_cursor_plane_cleanup_fb β€” literally just unpins the plane surface. that's the whole job. no cap. 🫢


🌸 SYNOPSIS 🌸

void vmw_cursor_plane_cleanup_fb (struct drm_plane *plane , struct
       drm_plane_state *old_state );

note the void bestie β€” she does not return a value in the signature, we'll get to that little plot twist in a sec πŸ‘€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • plane β€” the cursor plane. that's her. main character. πŸ’…
  • old_state β€” contains the state to clean up. the filler episode state you're about to throw away. πŸ—‘οΈ

πŸ’– DESCRIPTION πŸ’–

okay so what does she actually do? two things, and they're both exactly what the name promises:

  • Unmaps all cursor bo mappings πŸ”₯
  • Unpins the cursor surface πŸ“Œβž‘οΈπŸš«

that's it. that's the function. she unmaps and she unpins and she leaves. iconic behaviour honestly.

and then β€” and this is the part where I need you to just go with it β€” it says:

Returns 0 on success 😭

yes bestie, even though the return type is void. that's what the page says, so that's what I'm telling you. don't @ me, I don't write the kernel docs, I just vibe with them. πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

the whole cursor plane friend group, fr fr. go say hi to all of them. 🌈


mwah πŸ’‹ that's the page. shipped from ./drivers/gpu/drm/vmwgfx, dated October 2026, in the Kernel API Manual β€” the vmw_cursor_plane_cleanup_fb(9) entry, now with 100% more sparkle and 0% fewer facts. bye bestie, go unpin something πŸ§šπŸ’œ

πŸ“¦ where this page comes from