STRUCT VMW_BO_BLIT_LINE_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vmw_bo_blit_line_data(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so this is a page from the Linux Kernel API manual, and it's literally about struct vmw_bo_blit_line_data β€” the convenience argument to vmw_bo_cpu_blit_line. it's giving "tiny struct, big responsibilities," and honestly? we're obsessed. πŸ¦‹


✨ NAME ✨

struct vmw_bo_blit_line_data β€” the convenience argument to vmw_bo_cpu_blit_line. that's it, that's the whole vibe. 🫢


🌸 SYNOPSIS 🌸

here's the whole struct, exactly as it lives, no cap:

struct vmw_bo_blit_line_data {
    u32 mapped_dst;
    u8 *dst_addr;
    struct page **dst_pages;
    u32 dst_num_pages;
    pgprot_t dst_prot;
    u32 mapped_src;
    u8 *src_addr;
    struct page **src_pages;
    u32 src_num_pages;
    pgprot_t src_prot;
    struct vmw_diff_cpy *diff;
 };

like look at it. it's a whole little bundle of field energy. πŸ’œ


πŸ‘‘ Members πŸ‘‘

welcome to the member-by-member tour, bestie, keep up 🧚

  • mapped_dst β€” already mapped destination page index in dst_pages. so it's like "we already did this one, she's mapped, move along." ⭐
  • dst_addr β€” kernel virtual address of the mapped destination page. the address. of the destination. of the mapped one. iconic. πŸ“
  • dst_pages β€” array of destination bo pages. very "a group chat, but for pages." 🌈
  • dst_num_pages β€” number of destination bo pages. yes, it counts them. someone has to. πŸ’…
  • dst_prot β€” destination bo page protection. protection! as in pgprot_t, not as in a bodyguard. keep up. πŸ›‘οΈ
  • mapped_src β€” already mapped source page index in dst_pages. (yes, the original literally says dst_pages here β€” we're not touching it, that's exactly what the page says, periodt. πŸ”₯)
  • src_addr β€” kernel virtual address of the mapped source page. source edition. same energy, different side. 🌸
  • src_pages β€” array of source bo pages. the source group chat. 😭
  • src_num_pages β€” number of source bo pages. math queen. πŸ‘‘
  • src_prot β€” source bo page protection. pgprot_t again, obviously. πŸ’–
  • diff β€” struct vmw_diff_cpy, and in the end it gets forwarded to the memcpy routine. so it's the passenger who rides all the way to the memcpy routine and hops out there. lowkey cute. πŸŽ€

πŸ”₯ SEE ALSO πŸ”₯

go read these next, bestie, they're all connected iykyk:


that's the whole page, no notes. this one lives in ./drivers/gpu/drm/vmwgfx, dated October 2026 β€” so mark your calendar, screenshot it, send it to the group chat, and slay your blit lines responsibly. πŸ’…βœ¨πŸ’–

πŸ“¦ where this page comes from