vmw_du_update_layout(9)
π vmw_du_update_layout(9) β the group chat version π
okay so bestie, welcome to the Kernel API Manual entry for vmw_du_update_layout β¨ this one is short and sweet, no cap. It's a little int-returning function that does exactly two-ish things and then dips, so let's get into it π«Ά
πΈ NAME πΈ
vmw_du_update_layout β Update the display unit with topology from resolution plugin and generate DRM uevent π
that's the whole vibe: new topology comes in from the resolution plugin, the display unit gets updated, and a DRM uevent gets generated. iconic behaviour tbh π
β SYNOPSIS β
int vmw_du_update_layout (struct vmw_private *dev_priv , unsigned int
num_rects , struct drm_rect *rects );
look at her. three args, returns an int, done. the spacing in the source is exactly like that so i'm leaving it exactly like that, iykyk π§
π¦ ARGUMENTS π¦
dev_privβ the device private π that's yourstruct vmw_private *, the whole device situation.num_rectsβ number ofdrm_rectinrectsπ’ like, how many rectangles are we actually talking about here.rectsβ the toplogy to update π (and yes, "toplogy" is literally how it's spelled in the original β not me, i promise, no cap π) these are yourstruct drm_rect *rectangles, the layout of the land.
π quick vibe check:num_rectsandrectsare a matched set β one says how many, the other is the actual array. don't be out here passing a count that doesn't match, that's not giving what you think it's giving π
π₯ SEE ALSO π₯
okay this is the part where the page just starts naming the entire friend group π like genuinely everyone showed up to the party. Kernel file: ./drivers/gpu/drm/vmwgfx/vmwgfx_kms.c β that's the main character right there π
and then, in the order they were introduced to us, the whole squad:
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_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_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)
literally the entire kms extended universe, go read them all, i'll wait π
that's the page!! short, sweet, extremely int-coded. π
πΈ mwah, this has been vmw_du_update_layout(9), living in ./drivers/gpu/drm/vmwgfx, stamped October 2026 β see you in the next manpage bestie, 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