vmw_kms_helper_dirty(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_kms_helper_dirty ✨

Okay so bestie, welcome to the vmw_kms_helper_dirty(9) page β€” this is from the Kernel API Manual and it's literally the helper that builds commands and does the actions based on a set of cliprects and a set of display units. Obsessed. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int vmw_kms_helper_dirty (struct vmw_private *dev_priv , struct
vmw_framebuffer *framebuffer , const struct drm_clip_rect *clips , const
struct drm_vmw_rect *vclips , s32 dest_x , s32 dest_y , int num_clips ,
int increment , struct vmw_kms_dirty *dirty );

No cap, that's the whole signature. Copy it exactly, iykyk. πŸ’…


🌸 ARGUMENTS 🌸

So like, here's every single one, and no I'm not skipping any:

  • dev_priv β€” Pointer to a device private structure. That's your whole vibe-check entry point. ✨
  • framebuffer β€” Pointer to the framebuffer on which to perform the actions. The main character of this whole operation, honestly. πŸ‘‘
  • clips β€” A set of struct drm_clip_rect. Either this or vclips must be NULL. Cliprects are given in framebuffer coordinates. So don't be messy and pass both, okay? 😭
  • vclips β€” A set of struct drm_vmw_rect cliprects. Either this or clips must be NULL. Cliprects are given in source coordinates. Same energy, different coordinate system. πŸ¦‹
  • dest_x β€” X coordinate offset for the crtc / destination clip rects. Literally just the x-shift, bestie. πŸ’–
  • dest_y β€” Y coordinate offset for the crtc / destination clip rects. And that's the y-shift. Slay. πŸ’–
  • num_clips β€” Number of cliprects in the clips or vclips array. Count 'em. πŸ”’
  • increment β€” Integer with which to increment the clip counter when looping. Used to skip a predetermined number of clip rects. So it's giving "skip ahead" energy, periodt. ⭐
  • dirty β€” Closure structure. See the description of struct vmw_kms_dirty. That's where the real tea is. πŸ“
⚠️ Quick vibe check reminder: either clips or vclips must be NULL β€” not both, not neither. Respect the rules, bestie. 🫢

πŸ‘€ SEE ALSO πŸ‘€

The kernel file is right here: ./drivers/gpu/drm/vmwgfx/vmwgfx_kms.c β€” go read it if you're feeling curious. And here's the whole squad, every single one, no skipping:

Like, that's the whole friend group. πŸ’œ


And that's the page, bestie! This little gem lives in ./drivers/gpu/drm/vmwgfx and the version stamp says October 2026 β€” so yeah, it's giving future vibes but we're here for it. 🌈 Go forth and build those commands, icon. πŸ’…βœ¨

πŸ“¦ where this page comes from