drm_exec_obj(9)
π 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 thedrm_execcontext. 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:
struct drm_exec(9)drm_exec_for_each_locked_object(9)drm_exec_for_each_locked_object_reverse(9)drm_exec_until_all_locked(9)drm_exec_retry_on_contention(9)drm_exec_is_contended(9)drm_exec_retry(9)drm_exec_ticket(9)
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
- 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