STRUCT VMW_DIFF_CPY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the struct vmw_diff_cpy(9) page in the Kernel API Manual πŸ’… this one is all about struct vmw_diff_cpy β€” the CPU blit information structure. it's the lil' struct holding the deets for a CPU blit, and yes, we're gonna get into every field 🫢


🌸 SYNOPSIS 🌸

here's the exact struct, no cap β€” keep every line and character exactly like this:

       struct vmw_diff_cpy {
           struct drm_rect rect;
           size_t line;
           size_t line_offset;
           int cpp;
           void (*do_cpy)(struct vmw_diff_cpy *diff, u8 *dest, const u8 *src,
       size_t n);
        };

πŸŽ€ Members πŸŽ€

  • rect β€” the output bounding box rectangle. that's the rectangle the blit is working with, fr 🫢
  • line β€” the current line of the blit ✨
  • line_offset β€” offset of the current line segment πŸ‘‘
  • cpp β€” bytes per pixel β€” aka the granularity information πŸŽ€
  • do_cpy β€” which memcpy function to use. the function-pointer bestie handling the copy πŸ’…

πŸ’– SEE ALSO πŸ’–

the kernel file is ./drivers/gpu/drm/vmwgfx/vmwgfx_drv.h, and it's giving "go check these out next" energy:


with all my love from ./drivers/gpu/drm/vmwgfx, October 2026 β€” manual: struct vmw_diff_cpy(9) πŸ’–πŸ«Άβœ¨

πŸ“¦ where this page comes from