vmw_kms_sou_...urface_dirty(9)
π vmw_kms_sou_do_surface_dirty π
okay so this is from the Kernel API Manual, and the page header is literally vmw_kms_sou_...urface_dirty(9) (yes, with the lil ellipsis moment π), but the function we are actually hyping is vmw_kms_sou_do_surface_dirty π
β¨
β¨ NAME β¨
vmw_kms_sou_do_surface_dirty β dirty part of a surface backed framebuffer π
πΈ SYNOPSIS πΈ
the whole signature, no cuts, bestie:
int vmw_kms_sou_do_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. iconic little context holder πframebufferβ pointer to the surface-buffer backed framebuffer. yes bestie, that one π¦clipsβ array of clip rects. π¨ real talk from the page: eitherclipsorvclipsmust beNULL.vclipsβ alternate array of clip rects. same vibe check: eitherclipsorvclipsmust beNULLπsrfβ pointer to surface to blit from. if itβsNULL, the surface attached toframebufferwill be used β¨dest_xβ X coordinate offset to alignsrfwith framebuffer coordinates πdest_yβ Y coordinate offset to alignsrfwith framebuffer coordinates πnum_clipsβ number of clip rects inclipsπincβ increment to use when looping overclipsπ₯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 πcrtcβ ifcrtcis passed, perform surface dirty on thatcrtconly π
π¦ DESCRIPTION π¦
Returns 0 on success, negative error code on failure. and specifically -ERESTARTSYS if interrupted π periodt.
π SEE ALSO π
the kernel file is ./drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c, and the whole crew is here:
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_sou_bo_fifo_commit(9)vmw_sou_bo_clip(9)vmw_kms_sou_do_bo_dirty(9)vmw_sou_readback_fifo_commit(9)vmw_sou_readback_clip(9)vmw_kms_sou_readback(9)
okay bye bestie π«Ά this cutie comes from ./drivers/gpu/drm/vmwgfx, dated October 2026, and the footer still calls it vmw_kms_sou_...urface_dirty(9) β periodt π
β¨
π¦ 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