vmw_kms_stdu_surface_dirty(9)
β¨ 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. iykykframebufferβ pointer to the surface-buffer backed framebuffer. πΌοΈclipsβ array of clip rects. π¨ eitherclipsorvclipsmust beNULLβ bestie, this is not a both-at-once situation.vclipsβ alternate array of clip rects. π¨ eitherclipsorvclipsmust beNULL. same rule, different array, periodt.srfβ pointer to surface to blit from. IfNULL, the surface attached toframebufferwill be used. easy swap energydest_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. fence lorecrtcβ ifcrtcis 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:
struct vmw_stdu_dirty(9)struct vmw_screen_target_display_unit(9)vmw_stdu_crtc_destroy(9)vmw_stdu_define_st(9)vmw_stdu_bind_st(9)vmw_stdu_populate_update(9)vmw_stdu_update_st(9)vmw_stdu_destroy_st(9)vmw_stdu_crtc_mode_set_nofb(9)vmw_stdu_bo_cpu_clip(9)vmw_stdu_bo_cpu_commit(9)vmw_kms_stdu_readback(9)vmw_kms_stdu_surface_clip(9)vmw_kms_stdu_surface_fifo_commit(9)vmw_stdu_encoder_destroy(9)vmw_stdu_connector_destroy(9)vmw_stdu_primary_plane_cleanup_fb(9)vmw_stdu_primary_plane_prepare_fb(9)vmw_stdu_plane_update_bo(9)vmw_stdu_plane_update_surface(9)vmw_stdu_primary_plane_atomic_update(9)vmw_stdu_init(9)vmw_stdu_destroy(9)vmw_kms_stdu_init_display(9)
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
- 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