STRUCT VMW_CTX_BINDINFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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: NULL means 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 β€” a bool that 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