vmw_kms_stdu_surface_clip(9)
π vmw_kms_stdu_surface_clip β the kernel API manual, but make it make sense
okay so bestie, welcome to vmw_kms_stdu_surface_clip(9) β¨ the kernel API manual page for one very specific little callback. it's short, it's sweet, it's giving "tiny function, big responsibilities." let's get into it π«Ά
πΈ NAME πΈ
vmw_kms_stdu_surface_clip β the callback that encodes a surface copy command cliprect. that's literally its whole job and it does it slayfully π
β SYNOPSIS β
void vmw_kms_stdu_surface_clip (struct vmw_kms_dirty *dirty );
no cap, that's the whole signature. returns void β it's a callback, it's not here to give you answers, it's here to do the thing π₯
π ARGUMENTS π
dirtyβ the closure structure. that's it. that's the argument. it's the little container of context that gets passed around so the callback knows what it's working with π§
π¦ DESCRIPTION π¦
so what does it actually do, you ask? it encodes a surface copy command cliprect β and then it updates the bounding box for the copy. that's it. two jobs, both essential, both iconic π
like, think of it as the function that says "okay here's the clip rect, and hey, while we're at it, let's update the bounding box so nothing gets lost." it's the main character of the copy-command pipeline, lowkey π
π SEE ALSO π
the whole friend group, fr fr. the kernel file lives at ./drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c, and here's everyone it hangs out with:
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_fifo_commit(9)vmw_kms_stdu_surface_dirty(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)
go read them. they're all part of the same squad, iykyk π«Ά
ok and one last thing β this page comes from the source at./drivers/gpu/drm/vmwgfx, version dated October 2026, and it's thevmw_kms_stdu_surface_clip(9)page from the Kernel API Manual. periodt πβ¨ bye bestie, go clip some rects π
π¦ 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