XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_syncobj Struct Reference

#include <drm_syncobj.h>

Collaboration diagram for drm_syncobj:
Collaboration graph
[legend]

Public Attributes

struct kref refcount
 
struct dma_fence __rcu * fence
 
struct list_head cb_list
 
struct list_head ev_fd_list
 
spinlock_t lock
 
struct file * file
 

Detailed Description

struct drm_syncobj - sync object.

This structure defines a generic sync object which wraps a &dma_fence.

Member Data Documentation

◆ cb_list

struct list_head drm_syncobj::cb_list

@cb_list: List of callbacks to call when the &fence gets replaced.

◆ ev_fd_list

struct list_head drm_syncobj::ev_fd_list

@ev_fd_list: List of registered eventfd.

◆ fence

struct dma_fence __rcu* drm_syncobj::fence

@fence: NULL or a pointer to the fence bound to this object.

This field should not be used directly. Use drm_syncobj_fence_get() and drm_syncobj_replace_fence() instead.

◆ file

struct file* drm_syncobj::file

◆ lock

spinlock_t drm_syncobj::lock

@lock: Protects &cb_list and &ev_fd_list, and write-locks &fence.

◆ refcount

struct kref drm_syncobj::refcount

@refcount: Reference count of this object.


The documentation for this struct was generated from the following file: