drm_exec_obj(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_exec_obj(9) πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” this is the drm_exec(9)-adjacent page for drm_exec_obj, and it's short but iconic ✨.

🌸 NAME 🌸

drm_exec_obj β€” Return the object for a give drm_exec index. (yes, β€œgive” is literally what the page says, and we are respecting the lore πŸ˜­πŸ’…)

✨ SYNOPSIS ✨

the signature, untouched because code is sacred, periodt:

struct drm_gem_object * drm_exec_obj (struct drm_exec *exec , unsigned
       long index );

πŸŽ€ ARGUMENTS πŸŽ€

  • exec β€” Pointer to the drm_exec context. That's the context you're handing over, bestie πŸ’–
  • index β€” The index. Literally the index. no cap, that's the whole description 🫢

🌈 RETURN 🌈

It returns a pointer to the locked object corresponding to index if index is within the number of locked objects. Otherwise you get NULL β€” that's the whole vibe check 😭.

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file ./include/drm/drm_exec.h plus these certified icons:


that's the whole drm_exec_obj(9) tea, bestie 🫢 source/version ./include/drm, dated October 2026 β€” slay and goodbye πŸ’–

πŸ“¦ where this page comes from