vmw_kms_stdu_surface_dirty(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ vmw_kms_stdu_surface_dirty(9) β€” from the Kernel API Manual, bestie ✨

okay so hi bestie πŸ’– welcome to the Kernel API Manual entry for vmw_kms_stdu_surface_dirty(9). This is the group-chat recap: she dirties part of a surface backed framebuffer, and the whole function signature is right below. No cap, every argument matters.

πŸ’– NAME πŸ’–

vmw_kms_stdu_surface_dirty β€” dirty part of a surface backed framebuffer. Literally the whole plot. 🎬

🌸 SYNOPSIS 🌸

int vmw_kms_stdu_surface_dirty (struct vmw_private *dev_priv , struct
vmw_framebuffer *framebuffer , struct drm_clip_rect *clips , struct
drm_vmw_rect *vclips , struct vmw_resource *srf , s32 dest_x , s32
dest_y , unsigned num_clips , int inc , struct vmw_fence_obj **out_fence
, struct drm_crtc *crtc );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev_priv β€” pointer to the device private structure. iykyk
  • framebuffer β€” pointer to the surface-buffer backed framebuffer. πŸ–ΌοΈ
  • clips β€” array of clip rects. 🚨 either clips or vclips must be NULL β€” bestie, this is not a both-at-once situation.
  • vclips β€” alternate array of clip rects. 🚨 either clips or vclips must be NULL. same rule, different array, periodt.
  • srf β€” pointer to surface to blit from. If NULL, the surface attached to framebuffer will be used. easy swap energy
  • dest_x β€” X coordinate offset to align srf with framebuffer coordinates. πŸ“
  • dest_y β€” Y coordinate offset to align srf with framebuffer coordinates. πŸ“
  • num_clips β€” number of clip rects in clips. πŸ”’
  • inc β€” increment to use when looping over clips. πŸ”
  • out_fence β€” if non-NULL, will return a ref-counted pointer to a struct vmw_fence_obj. The returned fence pointer may be NULL, in which case the device has already synchronized. fence lore
  • crtc β€” if crtc is passed, perform surface dirty on that crtc only. 🎯

🌈 RETURN 🌈

0 on success, negative error code on failure. -ERESTARTSYS if interrupted. periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

Bestie, the kernel file is ./drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c, and these are the references β€” all of them, no skipping, because we don’t do that here:


mwah πŸ’‹ β€” this page is from the Kernel API Manual, source/version ./drivers/gpu/drm/vmwgfx, dated October 2026, and it’s literally vmw_kms_stdu_surface_dirty(9), periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from