vmw_du_plane_cleanup_fb(9)
β¨ vmw_du_plane_cleanup_fb β Unpins the plane surface π
okay so bestie, this is a page from the Kernel API Manual (section 9, the kernel-API girlies π§) and it's all about vmw_du_plane_cleanup_fb. Buckle up, it's short but she ate. π
πΈ SYNOPSIS πΈ
void vmw_du_plane_cleanup_fb (struct drm_plane *plane , struct
drm_plane_state *old_state );
like, literally just two args and she's done. no return value, no drama. periodt. π
π¦ ARGUMENTS π¦
planeβ the display plane herself. main character. πold_stateβ this one holds the FB that needs to get cleaned up. she's carrying the framebuffer we're about to unpin. π
π DESCRIPTION π
so what does she actually do? she unpins the framebuffer surface. that's it. that's the whole vibe. π«Ά
ngl there's a cute little line down here that says "Returns 0 on success" β which is lowkey funny because the function is void, but hey, we don't gatekeep documentation. πβ¨
bestie note: don't go looking for a return value at the call site, the signature says void and we respect her. π
π SEE ALSO π
okay this is the part where the manpage goes FULL group chat and tags everyone. no cap, here's the whole squad: π₯
- the kernel file itself:
./drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_du_plane_unpin_surf(9)vmw_du_primary_plane_atomic_check(9)vmw_du_crtc_duplicate_state(9)vmw_du_crtc_reset(9)vmw_du_crtc_destroy_state(9)vmw_du_plane_duplicate_state(9)vmw_du_plane_reset(9)vmw_du_plane_destroy_state(9)vmw_du_connector_duplicate_state(9)vmw_du_connector_reset(9)vmw_du_connector_destroy_state(9)vmw_kms_readback(9)vmw_kms_srf_ok(9)vmw_kms_new_framebuffer(9)vmw_kms_check_display_memory(9)vmw_crtc_state_and_lock(9)vmw_kms_check_implicit(9)vmw_kms_check_topology(9)vmw_kms_atomic_check_modeset(9)vmw_du_update_layout(9)vmw_guess_mode_timing(9)vmw_kms_update_layout_ioctl(9)vmw_kms_helper_dirty(9)vmw_kms_helper_validation_finish(9)vmw_kms_create_implicit_placement_property(9)vmw_kms_suspend(9)vmw_kms_resume(9)vmw_kms_lost_device(9)vmw_du_helper_plane_update(9)vmw_connector_mode_valid(9)vmw_connector_get_modes(9)
iykyk, that's a lot of friends. she's popular. π
and that's the whole page, bestie! π
cute little sign-off: this one lives in ./drivers/gpu/drm/vmwgfx from the Kernel API Manual, dated October 2026, and she's filed under vmw_du_plane_cleanup_fb(9). slay, go unpin some framebuffers. πβ¨π
π¦ 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