vmw_du_update_layout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 your struct vmw_private *, the whole device situation.
  • num_rects β€” number of drm_rect in rects πŸ”’ 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 your struct drm_rect * rectangles, the layout of the land.
πŸ“Œ quick vibe check: num_rects and rects are 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:

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