Home
last modified time | relevance | path

Searched refs:sync_timeline (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_internal_sync.c56 struct mali_internal_sync_timeline *sync_timeline; in mali_internal_sync_timeline_free() local
60 sync_timeline = container_of(kref_count, struct mali_internal_sync_timeline, kref_count); in mali_internal_sync_timeline_free()
62 if (sync_timeline->ops->release_obj) in mali_internal_sync_timeline_free()
63 sync_timeline->ops->release_obj(sync_timeline); in mali_internal_sync_timeline_free()
65 kfree(sync_timeline); in mali_internal_sync_timeline_free()
149 struct mali_internal_sync_timeline *sync_timeline = NULL; in mali_internal_sync_timeline_create() local
158 sync_timeline = kzalloc(size, GFP_KERNEL); in mali_internal_sync_timeline_create()
159 if (NULL == sync_timeline) { in mali_internal_sync_timeline_create()
163 kref_init(&sync_timeline->kref_count); in mali_internal_sync_timeline_create()
164 sync_timeline->ops = ops; in mali_internal_sync_timeline_create()
[all …]
H A Dmali_sync.c30 struct sync_timeline *sync_tl; /**< Sync timeline this pt is connected to. */
42 struct sync_timeline *sync_tl; /**< Sync timeline this flag is connected to. */
57 struct sync_timeline sync_timeline; member
59 struct mali_internal_sync_timeline sync_timeline;
74 …NLINE struct mali_sync_timeline_container *to_mali_sync_tl_container(struct sync_timeline *sync_tl) in to_mali_sync_tl_container()
79 return container_of(sync_tl, struct mali_sync_timeline_container, sync_timeline); in to_mali_sync_tl_container()
113 static void timeline_release(struct sync_timeline *sync_timeline) in timeline_release() argument
115 static void timeline_release(struct mali_internal_sync_timeline *sync_timeline) in timeline_release()
121 MALI_DEBUG_ASSERT_POINTER(sync_timeline); in timeline_release()
123 mali_sync_tl = to_mali_sync_tl_container(sync_timeline); in timeline_release()
[all …]
H A Dmali_internal_sync.h54 void (*release_obj)(struct mali_internal_sync_timeline *sync_timeline);
149 void mali_internal_sync_timeline_destroy(struct mali_internal_sync_timeline *sync_timeline);
155 void mali_internal_sync_timeline_signal(struct mali_internal_sync_timeline *sync_timeline);
162 …oint *mali_internal_sync_point_create(struct mali_internal_sync_timeline *sync_timeline, int size);
H A Dmali_sync.h46 struct sync_timeline *mali_sync_timeline_create(struct mali_timeline *timeline, const char *name);
72 struct sync_fence *mali_sync_timeline_create_signaled_fence(struct sync_timeline *sync_tl);
82 struct mali_sync_flag *mali_sync_flag_create(struct sync_timeline *sync_tl, u32 point);
/OK3568_Linux_fs/kernel/drivers/dma-buf/
H A Dsw_sync.c80 static struct sync_timeline *sync_timeline_create(const char *name) in sync_timeline_create()
82 struct sync_timeline *obj; in sync_timeline_create()
103 struct sync_timeline *obj = in sync_timeline_free()
104 container_of(kref, struct sync_timeline, kref); in sync_timeline_free()
111 static void sync_timeline_get(struct sync_timeline *obj) in sync_timeline_get()
116 static void sync_timeline_put(struct sync_timeline *obj) in sync_timeline_put()
128 struct sync_timeline *parent = dma_fence_parent(fence); in timeline_fence_get_timeline_name()
136 struct sync_timeline *parent = dma_fence_parent(fence); in timeline_fence_release()
152 struct sync_timeline *parent = dma_fence_parent(fence); in timeline_fence_signaled()
171 struct sync_timeline *parent = dma_fence_parent(fence); in timeline_fence_timeline_value_str()
[all …]
H A Dsync_debug.h33 struct sync_timeline { struct
48 static inline struct sync_timeline *dma_fence_parent(struct dma_fence *fence) in dma_fence_parent() argument
50 return container_of(fence->lock, struct sync_timeline, lock); in dma_fence_parent()
68 void sync_timeline_debug_add(struct sync_timeline *obj);
69 void sync_timeline_debug_remove(struct sync_timeline *obj);
73 static inline void sync_timeline_debug_add(struct sync_timeline *obj) {} in sync_timeline_debug_add()
74 static inline void sync_timeline_debug_remove(struct sync_timeline *obj) {} in sync_timeline_debug_remove()
H A Dsync_debug.c18 void sync_timeline_debug_add(struct sync_timeline *obj) in sync_timeline_debug_add()
27 void sync_timeline_debug_remove(struct sync_timeline *obj) in sync_timeline_debug_remove()
68 struct sync_timeline *parent = dma_fence_parent(fence); in sync_print_fence()
107 static void sync_print_obj(struct seq_file *s, struct sync_timeline *obj) in sync_print_obj()
149 struct sync_timeline *obj = in sync_info_debugfs_show()
150 container_of(pos, struct sync_timeline, in sync_info_debugfs_show()
H A Dsync_trace.h12 TRACE_EVENT(sync_timeline,
13 TP_PROTO(struct sync_timeline *timeline),
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_sync_android.c37 struct sync_timeline timeline;
51 static inline struct sync_timeline *sync_pt_parent(struct sync_pt *pt) in sync_pt_parent()
58 struct sync_timeline *timeline) in to_mali_sync_timeline()
113 static void timeline_value_str(struct sync_timeline *timeline, char *str, in timeline_value_str()
141 static struct sync_timeline *mali_sync_timeline_alloc(const char *name) in mali_sync_timeline_alloc()
143 struct sync_timeline *tl; in mali_sync_timeline_alloc()
161 struct sync_timeline *tl; in kbase_stream_close()
163 tl = (struct sync_timeline *)file->private_data; in kbase_stream_close()
175 struct sync_timeline *tl; in kbase_sync_fence_stream_create()
201 static struct sync_pt *kbase_sync_pt_alloc(struct sync_timeline *parent) in kbase_sync_pt_alloc()
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dsync.h11 TRACE_EVENT(sync_timeline,
12 TP_PROTO(struct sync_timeline *timeline),
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_timeline.h119 …struct sync_timeline *signaled_sync_tl; /**< Special sync timeline used to create pre-si…
148 …struct sync_timeline *sync_tl; /**< Sync timeline that corresponds to this timeline. …