vmw_kms_sou_do_bo_dirty(9)
π 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. eitherclipsorvclipsmust beNULL. no cap, that part is literally required πnum_clipsβ number of clip rects inclips. count βem πincrementβ increment to use when looping overclips. 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 astruct vmw_fence_obj. the returned fence pointer may beNULL, in which case the device has already synchronized. so if it hands youNULL, thatβs a whole βalready doneβ moment πcrtcβ ifcrtcis 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
- 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