STRUCT VMW_DX_STREAMOUTPUT(9)
π¦ struct vmw_dx_streamoutput(9) π¦
okay so bestie, this is a page from the Kernel API Manual and it's literally all about struct vmw_dx_streamoutput β the streamoutput resource metadata vibe. no cap, that's the whole NAME section, she's short and she knows it π
β¨ SYNOPSIS β¨
like, here's the shape of her, exactly as she comes:
struct vmw_dx_streamoutput {
struct vmw_resource res;
struct vmw_resource *ctx;
struct vmw_resource *cotable;
struct list_head cotable_head;
u32 id;
u32 size;
bool committed;
};
look at her. iconic. no notes π
πΈ Members πΈ
okay this is the part where we go member by member, because every single one matters, fr fr π₯
resβ the base resource struct. like the foundation, the main character of the struct world πctxβ a non-refcounted context thatresbelongs to. and yes bestie, clock that "non-refcounted" β it's giving "not holding a reference," so don't go assuming it's keeping anything alive πcotableβ the refcounted cotable holding this Streamoutput. this one DOES hold a reference, unlike her friendctxabove, iykyk β¨cotable_headβ the list head for the cotable-so_res list. she's the little hook that keeps the list together π«Άidβ a user-space provided identifier. the userspace said "here, this is her name" πsizeβ a user-space provided mob size. again, userspace decided, not us πΈcommittedβ aboolthat tells you whether the streamoutput is actually created or just pending creation. like is she real-real or is she still loading πβ³
π SEE ALSO π
the kernel file lives right here, go be nosy:
./drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c
and her whole friend group, all of them, not skipping a single one:
vmw_dx_streamoutput_unscrub(9)vmw_dx_streamoutput_scrub(9)vmw_dx_streamoutput_lookup(9)vmw_dx_streamoutput_add(9)vmw_dx_streamoutput_set_size(9)vmw_dx_streamoutput_remove(9)vmw_dx_streamoutput_cotable_list_scrub(9)
π quick vibe check:ctxis non-refcounted,cotableis refcounted β mix those up at your own peril bestie, that's a whole lifetime-management situation.
π and that's the page!! sourced straight outta ./drivers/gpu/drm/vmwgfx, dated October 2026, and yes the title stays struct vmw_dx_streamoutput(9) because we respect the branding π mwah, go read the source, ily, bye π§β¨
π¦ 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