vmw_kms_helper_dirty(9)
π vmw_kms_helper_dirty β¨
Okay so bestie, welcome to the vmw_kms_helper_dirty(9) page β this is from the Kernel API Manual and it's literally the helper that builds commands and does the actions based on a set of cliprects and a set of display units. Obsessed. π
π¦ SYNOPSIS π¦
int vmw_kms_helper_dirty (struct vmw_private *dev_priv , struct
vmw_framebuffer *framebuffer , const struct drm_clip_rect *clips , const
struct drm_vmw_rect *vclips , s32 dest_x , s32 dest_y , int num_clips ,
int increment , struct vmw_kms_dirty *dirty );
No cap, that's the whole signature. Copy it exactly, iykyk. π
πΈ ARGUMENTS πΈ
So like, here's every single one, and no I'm not skipping any:
dev_privβ Pointer to a device private structure. That's your whole vibe-check entry point. β¨framebufferβ Pointer to the framebuffer on which to perform the actions. The main character of this whole operation, honestly. πclipsβ A set ofstruct drm_clip_rect. Either this orvclipsmust beNULL. Cliprects are given in framebuffer coordinates. So don't be messy and pass both, okay? πvclipsβ A set ofstruct drm_vmw_rectcliprects. Either this orclipsmust beNULL. Cliprects are given in source coordinates. Same energy, different coordinate system. π¦dest_xβ X coordinate offset for the crtc / destination clip rects. Literally just the x-shift, bestie. πdest_yβ Y coordinate offset for the crtc / destination clip rects. And that's the y-shift. Slay. πnum_clipsβ Number of cliprects in theclipsorvclipsarray. Count 'em. π’incrementβ Integer with which to increment the clip counter when looping. Used to skip a predetermined number of clip rects. So it's giving "skip ahead" energy, periodt. βdirtyβ Closure structure. See the description ofstruct vmw_kms_dirty. That's where the real tea is. π
β οΈ Quick vibe check reminder: eitherclipsorvclipsmust beNULLβ not both, not neither. Respect the rules, bestie. π«Ά
π SEE ALSO π
The kernel file is right here: ./drivers/gpu/drm/vmwgfx/vmwgfx_kms.c β go read it if you're feeling curious. And here's the whole squad, every single one, no skipping:
vmw_du_plane_unpin_surf(9)vmw_du_plane_cleanup_fb(9)vmw_du_primary_plane_atomic_check(9)vmw_du_crtc_duplicate_state(9)vmw_du_crtc_reset(9)vmw_du_crtc_destroy_state(9)vmw_du_plane_duplicate_state(9)vmw_du_plane_reset(9)vmw_du_plane_destroy_state(9)vmw_du_connector_duplicate_state(9)vmw_du_connector_reset(9)vmw_du_connector_destroy_state(9)vmw_kms_readback(9)vmw_kms_srf_ok(9)vmw_kms_new_framebuffer(9)vmw_kms_check_display_memory(9)vmw_crtc_state_and_lock(9)vmw_kms_check_implicit(9)vmw_kms_check_topology(9)vmw_kms_atomic_check_modeset(9)vmw_du_update_layout(9)vmw_guess_mode_timing(9)vmw_kms_update_layout_ioctl(9)vmw_kms_helper_validation_finish(9)vmw_kms_create_implicit_placement_property(9)vmw_kms_suspend(9)vmw_kms_resume(9)vmw_kms_lost_device(9)vmw_du_helper_plane_update(9)vmw_connector_mode_valid(9)vmw_connector_get_modes(9)
Like, that's the whole friend group. π
And that's the page, bestie! This little gem lives in ./drivers/gpu/drm/vmwgfx and the version stamp says October 2026 β so yeah, it's giving future vibes but we're here for it. π Go forth and build those commands, icon. π
β¨
π¦ 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