drm_syncobj_get_fd(9)
π NAME π
okay so this is drm_syncobj_get_fd(9) from the Kernel API Manual, and it's literally giving βget a file descriptor from a syncobjβ. that's the whole name, bestie β no cap. π
β¨ SYNOPSIS β¨
here's the signature, and yes you should keep it exactly like this:
int drm_syncobj_get_fd (struct drm_syncobj *syncobj , int *p_fd );
π«Ά ARGUMENTS π«Ά
syncobjβ Sync object to export. this is the sync object you're exporting, bestie. π¦p_fdβ out parameter with the new file descriptor. it's an out parameter, and it's where the new file descriptor goes. periodt. π
πΈ DESCRIPTION πΈ
so what it does is Exports a sync object created with drm_syncobj_create as a file descriptor. iconic behavior, honestly. π₯
and the return vibe? it Returns 0 on success or a negative error value on failure. that's it, that's the tea. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/drm_syncobj.cOverview(9) β the source-file bestie π drm_syncobj_find(9)drm_syncobj_add_point(9)drm_syncobj_replace_fence(9)drm_syncobj_assign_null_handle(9)drm_syncobj_find_fence(9)drm_syncobj_free(9)drm_syncobj_create(9)drm_syncobj_get_handle(9)drm_syncobj_open(9)drm_syncobj_release(9)drm_timeout_abs_to_jiffies(9)
xoxo π that's the whole page, bestie β brought to you by the ./drivers/gpu/drm source tree, dated October 2026, page drm_syncobj_get_fd(9). bye! πβ¨
π¦ 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