STRUCT DRM_NOUVEAU_VM_BIND(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct drm_nouveau_vm_bind πŸ’–

okay so bestie, this is the man page for struct drm_nouveau_vm_bind β€” like, the whole structure behind DRM_IOCTL_NOUVEAU_VM_BIND ✨. It lives in the Kernel API Manual, and it's giving "kernel dev but make it cute" energy, no cap πŸŽ€.


✨ NAME ✨

struct drm_nouveau_vm_bind β€” the structure for DRM_IOCTL_NOUVEAU_VM_BIND πŸ’…


🌸 SYNOPSIS 🌸

struct drm_nouveau_vm_bind {
    __u32 op_count;
    __u32 flags;
  #define DRM_NOUVEAU_VM_BIND_RUN_ASYNC 0x1;
    __u32 wait_count;
    __u32 sig_count;
    __u64 wait_ptr;
    __u64 sig_ptr;
    __u64 op_ptr;
 };

like, there's the whole thing ^^ every field, exactly as it is, don't touch a character πŸ”₯


πŸ¦‹ Members πŸ¦‹

πŸ’œ op_count

the number of drm_nouveau_vm_bind_op β€” yeah that's the count of ops you're asking for, periodt.


πŸ’œ flags

the flags for a drm_nouveau_vm_bind ioctl πŸŽ€

Supported values, get into it:

  • DRM_NOUVEAU_VM_BIND_RUN_ASYNC β€” Indicates that the given VM_BIND operation should be executed asynchronously by the kernel πŸ’«
ngl this one matters: if this flag is not supplied, the kernel executes the associated operations synchronously and doesn't accept any drm_nouveau_sync objects. so like… yeah, know what you're asking for 😭

πŸ’œ wait_count

the number of wait drm_nouveau_syncs ⏳


πŸ’œ sig_count

the number of drm_nouveau_syncs to signal when finished 🌈


πŸ’œ wait_ptr

pointer to drm_nouveau_syncs to wait for 🫢


πŸ’œ sig_ptr

pointer to drm_nouveau_syncs to signal when finished ⭐


πŸ’œ op_ptr

pointer to the drm_nouveau_vm_bind_ops to execute πŸ”₯


πŸŽ€ SEE ALSO πŸŽ€

  • kernel file ./include/uapi/drm/nouveau_drm.h
  • struct drm_nouveau_sync(9)
  • struct drm_nouveau_vm_init(9)
  • struct drm_nouveau_vm_bind_op(9)
  • struct drm_nouveau_exec_push(9)
  • struct drm_nouveau_exec(9)

like, read the whole friend group, iykyk πŸ’…


and that's the page bestie!! 🧚 source: ./include/uapi/drm Β· version: Kernel API Manual Β· dated October 2026 β€” mwah, go bind some VM, ily, bye πŸ‘‘πŸ’–

πŸ“¦ where this page comes from