UNION DRM_VMW_EXTENDED_CONTEXT_ARG(9)
π union drm_vmw_extended_context_arg(9) β Kernel API Manual β¨
okay so bestie, welcome to the kernel API manual, and today's main character is this little union from the vmwgfx_drm.h corner of the universe π
πΈ NAME πΈ
union drm_vmw_extended_context_arg β that's it, that's the name, she's a union and she's iconic π
β¨ SYNOPSIS β¨
union drm_vmw_extended_context_arg {
enum drm_vmw_extended_context req;
struct drm_vmw_context_arg rep;
};
like, look at her. two members. no notes. π₯
π¦ Members π¦
reqβ the context type. literally what kind of context we're talking about here πrepβ the context identifier. the actual ID that comes back, iykyk π«Ά
π Description π
so what IS this thing? it's the argument to the DRM_VMW_CREATE_EXTENDED_CONTEXT Ioctl. that's the whole vibe. she shows up, she carries the argument, she slays, periodt π
β SEE ALSO β
okay this is the part where I introduce you to the whole friend group β they all live in the kernel file ./include/uapi/drm/vmwgfx_drm.h and honestly they're all so valid:
enum drm_vmw_handle_type(9)struct drm_vmw_getparam_arg(9)struct drm_vmw_size(9)union drm_vmw_surface_create_arg(9)struct drm_vmw_fence_rep(9)struct drm_vmw_bo_rep(9)union drm_vmw_alloc_bo_arg(9)struct drm_vmw_control_stream_arg(9)struct drm_vmw_cursor_bypass_arg(9)struct drm_vmw_fence_wait_arg(9)struct drm_vmw_fence_event_arg(9)struct drm_vmw_shader_create_arg(9)struct drm_vmw_gb_surface_create_req(9)struct drm_vmw_gb_surface_create_rep(9)union drm_vmw_gb_surface_create_arg(9)union drm_vmw_gb_surface_reference_arg(9)enum drm_vmw_synccpu_op(9)struct drm_vmw_synccpu_arg(9)struct drm_vmw_handle_close_arg(9)struct drm_vmw_gb_surface_create_ext_req(9)union drm_vmw_gb_surface_create_ext_arg(9)union drm_vmw_gb_surface_reference_ext_arg(9)struct drm_vmw_msg_arg(9)struct drm_vmw_mksstat_add_arg(9)struct drm_vmw_mksstat_remove_arg(9)
go read them all, they're all eating down πβ¨
ngl bestie, that's the whole page. short and sweet, just like she deserves π
okay and finally, the cute little sign-off: this one lives over in ./include/uapi/drm, and it's dated October 2026 β so mark your calendars, the manual page is union drm_vm..._context_arg(9) and she said what she said π§ππΈ
π¦ 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