vmw_memcpy(9)
π vmw_memcpy β ok so this is the kernel API manual, section 9 (kernel API manual besties, we're in the docs!!)
Hiii so this page is literally about vmw_memcpy, which is a little wrapper around kernel memcpy that lets you plug it into a struct vmw_diff_cpy. That's the whole vibe. It's a plug-in-coded function, no cap π«Ά
β¨ NAME β¨
vmw_memcpy β a wrapper around kernel memcpy with allowing to plug it into a struct vmw_diff_cpy. That's it, that's the gig π
πΈ SYNOPSIS πΈ
void vmw_memcpy (struct vmw_diff_cpy *diff , u8 *dest , const u8 *src ,
size_t n );
Yes bestie, the spacing is exactly like that, I don't make the rules π it's giving "written at 3am" energy but we respect it.
π ARGUMENTS π
diffβ thestruct vmw_diff_cpyclosure argument. And plot twist: it's unused π literally just sitting there looking pretty. Main character energy but no lines, iykyk.destβ the copy destination π this is where the bytes are going.srcβ the copy source πΈ this is where the bytes are coming from. The origin story.nβ number of bytes to copy π’ exactly that many, no more no less, periodt.
π¦ SEE ALSO π¦
Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_blit.c β go read the source, it's right there, be so fr:
vmw_find_first_diff(9)vmw_find_last_diff(9)vmw_adjust_rect(9)vmw_diff_memcpy(9)struct vmw_bo_blit_line_data(9)vmw_bo_cpu_blit_line(9)vmw_bo_cpu_blit(9)
Like a little friend group of functions, obsessed π§β¨
lowkey a note for the besties: every one of those SEE ALSO entries is either a page in section 9 or the actual kernel file, so if you're lost, that's your reading list π
Ok bye ily, stay hydrated and remember: diff is unused, that's not a bug, that's just her journey ππ
Sign-off time!! This little masterpiece lives under ./drivers/gpu/drm/vmwgfx and it's dated October 2026 β yes, October 2026, she's from the future, slay βππ¦
π¦ 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