STRUCT VMW_USER_RESOURCE_CONV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct vmw_user_resource_conv(9) πŸ’–

okay bestie, this is a Kernel API Manual page and it’s lowkey iconic: it’s all about struct vmw_user_resource_conv. no cap, it’s giving β€œidentify a derived user-exported resource type and provide a function to convert its ttm_base_object pointer to a struct vmw_resource.” πŸ¦‹

✨ NAME ✨

struct vmw_user_resource_conv β€” identify a derived user-exported resource type, and provide a function to convert its ttm_base_object pointer to a struct vmw_resource. periodt. πŸ’…

🌸 SYNOPSIS 🌸

       struct vmw_user_resource_conv {
           enum ttm_object_type object_type;
           struct vmw_resource *(*base_obj_to_res)(struct ttm_base_object
       *base);
           void (*res_free) (struct vmw_resource *res);
        };

πŸŽ€ Members πŸŽ€

okay so here’s the struct field rundown, straight from the synopsis β€” no extra lore, just the exact members:

  • object_type β€” an enum ttm_object_type; this is the object type member, exactly as declared.
  • base_obj_to_res β€” a function pointer: it takes struct ttm_base_object *base and returns a struct vmw_resource *.
  • res_free β€” a function pointer: it takes struct vmw_resource *res and returns void.

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h
  • struct vmw_res_func(9)
  • struct vmw_simple_resource_func(9)
  • struct vmw_simple_resource(9)

cute sign-off time 🫢: this cutie comes from the ./drivers/gpu/drm/vmwgfx source/version corner, dated October 2026, and the footer nickname is struct vmw_...esource_conv(9). bye bestie, go convert that pointer πŸ’–βœ¨

πŸ“¦ where this page comes from