STRUCT DRM_SYNCOBJ(9)
π
struct drm_syncobj(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual page for struct drm_syncobj β itβs giving sync-object realness and weβre gonna get through it together. π«Ά
π¦ NAME π¦
struct drm_syncobj β a sync object. periodt. β¨
β¨ SYNOPSIS β¨
no cap, hereβs the exact shape of the struct, bestie:
struct drm_syncobj {
struct kref refcount;
struct dma_fence *fence;
struct list_head cb_list;
struct list_head ev_fd_list;
spinlock_t lock;
struct file *file;
};
π«Ά Members π«Ά
refcountβ reference count of this object. πfenceβNULLor a pointer to the fence bound to this object. π¨ this field should not be used directly β usedrm_syncobj_fence_getanddrm_syncobj_replace_fenceinstead. πcb_listβ list of callbacks to call when the fence gets replaced. π₯ev_fd_listβ list of registeredeventfd. πΈlockβ protectscb_listandev_fd_list, and write-locksfence. πfileβ a file backing for this syncobj. π
πΈ Description πΈ
This structure defines a generic sync object which wraps a dma_fence. thatβs the whole vibe, and honestly? iconic. β¨
π SEE ALSO π
Kernel file ./include/drm/drm_syncobj.h β plus drm_syncobj_get(9), drm_syncobj_put(9), and drm_syncobj_fence_get(9). go read those too, iykyk. π«Ά
okay bye bestie β this page came from source ./include/drm, dated October 2026, and itβs the struct drm_syncobj(9) manual. 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