vmw_cursor_plane_cleanup_fb(9)
π 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 π
- Kernel file:
./drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.cβ go read the source, it's giving lore β vmw_send_define_cursor_cmd(9)vmw_cursor_mob_unmap(9)vmw_cursor_mob_map(9)vmw_cursor_plane_prepare_fb(9)vmw_cursor_plane_atomic_check(9)
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
- 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