vmw_du_plane_reset(9)
π 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:
- 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) - 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 π
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_kms.cβ the actual source file, go read her π vmw_du_plane_unpin_surf(9)vmw_du_plane_cleanup_fb(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_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)
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
- 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