drm_syncobj_create(9)
π drm_syncobj_create(9) β the Kernel API Manual glow-up β¨
okay so bestie, welcome to the Kernel API Manual entry for drm_syncobj_create(9) β yes the whole page is named after the function, we love a title drop π
πΈ NAME πΈ
drm_syncobj_create β literally creates a brand new syncobj for you, no cap π«
β¨ SYNOPSIS β¨
int drm_syncobj_create (struct drm_syncobj **out_syncobj , uint32_t
flags , struct dma_fence *fence );
π ARGUMENTS π
out_syncobjβ the syncobj that gets returned to you π«Ά like, this is where your brand-new baby comes back out.flagsβ theDRM_SYNCOBJ_*flags, periodt.fenceβ if this is non-NULL, the syncobj will represent this fence π₯ (if it isNULL, it just doesn't, iykyk).
π¦ DESCRIPTION π¦
This is the first function to create a sync object β like the origin story, the main character energy of syncobj creation π.
After creating it, drivers probably want to make it available to userspace, either through drm_syncobj_get_handle or drm_syncobj_get_fd π. So like, you made it, now go introduce it to the people.
Returns 0 on success or a negative error value on failure π bestie if it's negative, something went wrong, fr fr.
ngl the return value check is not optional β 0 means slay, negative means go read the error and cope π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_syncobj.cOverview(9) 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_get_handle(9)drm_syncobj_get_fd(9)drm_syncobj_open(9)drm_syncobj_release(9)drm_timeout_abs_to_jiffies(9)
and that's the whole page, bestie π§ β brought to you by the source/version at ./drivers/gpu/drm, dated October 2026. mwah πβ¨
π¦ 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