STRUCT VMW_CTX_BINDINFO(9)
πΈ NAME πΈ
struct vmw_ctx_bindinfo β literally just the metadata for one single binding, bestie. that's it, that's the whole vibe β¨
okay so real quick before we dive in β this is a page out of the Kernel API Manual, and it is exactly as niche and iconic as it sounds π
π SYNOPSIS π
struct vmw_ctx_bindinfo {
struct list_head ctx_list;
struct list_head res_list;
struct vmw_resource *ctx;
struct vmw_resource *res;
enum vmw_ctx_binding_type bt;
bool scrubbed;
};
like, look at her. six fields. no notes. π«Ά
π Members π
okay so let's meet the cast, one by one, no skipping π
ctx_listβ the list head for the context's own little list of bindings. she's keeping track of her people. π§res_listβ and this one's the list head for a resource's list of bindings. same energy, different guest list. β¨ctxβ a non-refcounted pointer to the context that owns the binding. and lowkey the important part:NULLmeans there is no binding present, periodt. π₯resβ a non-refcounted pointer to the resource the binding points at. ngl this is typically a surface or a view, iykyk. π¦btβ the binding type. that's it. that's the whole personality of this field. πscrubbedβ aboolthat tells you whether this binding has been scrubbed from the context. like, has she been removed from the group chat or not π
π SEE ALSO π
like literally go read the kernel file, it's right here:
./drivers/gpu/drm/vmwgfx/vmwgfx_binding.h
and then the whole friend group of structs β they're all linked below, bestie, collect them all π:
struct vmw_ctx_bindinfo_tex(9)struct vmw_ctx_bindinfo_shader(9)struct vmw_ctx_bindinfo_cb(9)struct vmw_ctx_bindinfo_view(9)struct vmw_ctx_bindinfo_so_target(9)struct vmw_ctx_bindinfo_vb(9)struct vmw_ctx_bindinfo_ib(9)struct vmw_dx_shader_bindings(9)struct vmw_ctx_bindinfo_uav(9)struct vmw_ctx_bindinfo_so(9)
ok that's the whole page!! mwah π
and as a lil sign-off: this beauty lives under ./drivers/gpu/drm/vmwgfx, dated October 2026, and yes she's still struct vmw_ctx_bindinfo(9) β main character energy forever βππ
π¦ 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