vmw_kms_sou_do_bo_dirty(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_kms_sou_do_bo_dirty(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this one is about dirtying part of a buffer-object backed framebuffer, and yes, that is exactly as niche and iconic as it sounds. 🫢


🌸 NAME 🌸

vmw_kms_sou_do_bo_dirty β€” dirty part of a buffer-object backed framebuffer. periodt. πŸ’–


✨ SYNOPSIS ✨

int vmw_kms_sou_do_bo_dirty (struct vmw_private *dev_priv , struct
vmw_framebuffer *framebuffer , struct drm_clip_rect *clips , struct
drm_vmw_rect *vclips , unsigned num_clips , int increment , bool
interruptible , struct vmw_fence_obj **out_fence , struct drm_crtc *crtc
);

πŸŽ€ ARGUMENTS πŸŽ€

  • dev_priv β€” pointer to the device private structure. your device’s private little world πŸ’…
  • framebuffer β€” pointer to the buffer-object backed framebuffer. yes, the framebuffer in question ✨
  • clips β€” array of clip rects. the clip crew πŸŽ€
  • vclips β€” alternate array of clip rects. either clips or vclips must be NULL. no cap, that part is literally required πŸ’€
  • num_clips β€” number of clip rects in clips. count ’em πŸ“
  • increment β€” increment to use when looping over clips. the step size for the loop vibe 🌈
  • interruptible β€” whether to perform waits interruptible if possible. be polite to waits, bestie 😭
  • 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. so if it hands you NULL, that’s a whole β€œalready done” moment πŸ‘‘
  • crtc β€” if crtc is passed, perform bo dirty on that crtc only. one crtc, no side quests πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

returns 0 on success, negative error code on failure. -ERESTARTSYS if interrupted. that’s the whole return vibe check, bestie β€” success is 0, failure is a negative error code, and interruption is giving -ERESTARTSYS πŸ”₯


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct vmw_kms_sou_surface_dirty(9), vmw_sou_crtc_mode_set_nofb(9), vmw_sou_crtc_helper_prepare(9), vmw_sou_crtc_atomic_disable(9), vmw_sou_primary_plane_cleanup_fb(9), vmw_sou_primary_plane_prepare_fb(9), vmw_sou_plane_update_bo(9), vmw_sou_plane_update_surface(9), vmw_sou_surface_fifo_commit(9), vmw_sou_surface_clip(9), vmw_kms_sou_do_surface_dirty(9), vmw_sou_bo_fifo_commit(9), vmw_sou_bo_clip(9), vmw_sou_readback_fifo_commit(9), vmw_sou_readback_clip(9), vmw_kms_sou_readback(9) β€” the whole related-API group chat is right there, iykyk πŸ’œ


bye bestie πŸ’– source/version: ./drivers/gpu/drm/vmwgfx Β· date: October 2026 Β· page: vmw_kms_sou_do_bo_dirty(9) ✨

πŸ“¦ where this page comes from