STRUCT DRM_NOUVEAU_EXEC_PUSH(9)
β¨ NAME β¨
struct drm_nouveau_exec_push β the EXEC push operation, bestie π
(this is a page from the Kernel API Manual, and yes we're gonna read the whole thing together, don't scroll away)
π¦ SYNOPSIS π¦
okay so here's the literal shape of it, no cap, copy it exactly:
struct drm_nouveau_exec_push {
__u64 va;
__u32 va_len;
__u32 flags;
#define DRM_NOUVEAU_EXEC_PUSH_NO_PREFETCH 0x1;
};
like, that's the whole vibe. it's giving "small struct, big responsibilities" π
π MEMBERS π
one member at a time, we're doing this properly:
vaβ the virtual address of the push buffer mapping π that's the whole address right there.va_lenβ the length of the push buffer mapping πΈ like, how much of it there is.flagsβ the flags for this push buffer mapping β¨ and hey, there's a flag hiding up in the synopsis:DRM_NOUVEAU_EXEC_PUSH_NO_PREFETCH 0x1;β that's the one define in here, iykyk π«Ά
π DESCRIPTION π
okay so picture this: this structure represents a single EXEC push operation. one. just one, that's its whole main character energy π
and UMDs β yeah, the user-mode drivers, they know who they are β should pass an array of this structure via struct drm_nouveau_exec's push_ptr field π like, an array of these, not just one, because one push is never enough, periodt.
fr fr, the important bit: it'spush_ptronstruct drm_nouveau_exec. not some other field. don't come for me if you get that wrong π
π SEE ALSO π
go look at these when you're done here, they're all in the 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_vm_bind(9)struct drm_nouveau_exec(9)
and that's the whole page, bestie, you ate that π the source for all this is ./include/uapi/drm and it's dated October 2026, and the man page itself is struct drm_nouveau_exec_push(9) β mwah, go forth and push ππ
β¨ slay β¨
π¦ 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