Home
last modified time | relevance | path

Searched refs:syncpt (Results 1 – 19 of 19) sorted by relevance

/third_party/libdrm/tegra/
Dsyncpt.c39 struct drm_tegra_syncpoint *syncpt; in drm_tegra_syncpoint_new() local
42 syncpt = calloc(1, sizeof(*syncpt)); in drm_tegra_syncpoint_new()
43 if (!syncpt) in drm_tegra_syncpoint_new()
50 free(syncpt); in drm_tegra_syncpoint_new()
54 syncpt->drm = drm; in drm_tegra_syncpoint_new()
55 syncpt->id = args.id; in drm_tegra_syncpoint_new()
57 *syncptp = syncpt; in drm_tegra_syncpoint_new()
63 drm_tegra_syncpoint_free(struct drm_tegra_syncpoint *syncpt) in drm_tegra_syncpoint_free() argument
66 struct drm_tegra *drm = syncpt->drm; in drm_tegra_syncpoint_free()
69 if (!syncpt) in drm_tegra_syncpoint_free()
[all …]
Djob.c144 args.syncpt.id = job->syncpt.id; in drm_tegra_job_submit()
145 args.syncpt.increments = job->syncpt.increments; in drm_tegra_job_submit()
155 job->syncpt.fence = args.syncpt.value; in drm_tegra_job_submit()
159 fence->syncpt = job->syncpt.id; in drm_tegra_job_submit()
160 fence->value = job->syncpt.fence; in drm_tegra_job_submit()
179 args.id = job->syncpt.id; in drm_tegra_job_wait()
180 args.threshold = job->syncpt.fence; in drm_tegra_job_wait()
Dpushbuf.c106 struct drm_tegra_syncpoint *syncpt, in drm_tegra_pushbuf_wait() argument
117 command->wait_syncpt.id = syncpt->id; in drm_tegra_pushbuf_wait()
159 struct drm_tegra_syncpoint *syncpt, in drm_tegra_pushbuf_sync() argument
164 job->syncpt.increments += count; in drm_tegra_pushbuf_sync()
165 job->syncpt.id = syncpt->id; in drm_tegra_pushbuf_sync()
172 struct drm_tegra_syncpoint *syncpt, in drm_tegra_pushbuf_sync_cond() argument
181 *(*ptrp)++ = cond << channel->cond_shift | syncpt->id; in drm_tegra_pushbuf_sync_cond()
183 return drm_tegra_pushbuf_sync(pushbuf, syncpt, 1); in drm_tegra_pushbuf_sync_cond()
Dtegra.h80 uint32_t syncpt; member
107 struct drm_tegra_syncpoint *syncpt,
115 struct drm_tegra_syncpoint *syncpt,
119 struct drm_tegra_syncpoint *syncpt,
124 int drm_tegra_syncpoint_free(struct drm_tegra_syncpoint *syncpt);
Dprivate.h106 } syncpt; member
Dmeson.build25 'channel.c', 'job.c', 'private.h', 'pushbuf.c', 'syncpt.c', 'tegra.c'
/third_party/libdrm/tests/tegra/
Dsyncpt-timeout.c63 struct drm_tegra_syncpoint *syncpt; in main() local
87 err = drm_tegra_syncpoint_new(drm, &syncpt); in main()
124 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, syncpt, in main()
132 err = drm_tegra_pushbuf_sync(pushbuf, syncpt, 1); in main()
158 drm_tegra_syncpoint_free(syncpt); in main()
Dsyncpt-wait.c63 struct drm_tegra_syncpoint *syncpt; in main() local
87 err = drm_tegra_syncpoint_new(drm, &syncpt); in main()
119 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, syncpt, in main()
146 drm_tegra_syncpoint_free(syncpt); in main()
Dmeson.build69 'tegra-syncpt-wait',
70 files('syncpt-wait.c'),
78 'tegra-syncpt-timeout',
79 files('syncpt-timeout.c'),
Dvic-blit.c73 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, vic->syncpt, in clear()
143 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, vic->syncpt, in fill()
212 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, vic->syncpt, in blit()
Dvic-flip.c73 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, vic->syncpt, in clear()
143 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, vic->syncpt, in fill()
212 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, vic->syncpt, in flip()
Dvic40.c260 drm_tegra_syncpoint_free(v->syncpt); in vic40_free()
289 err = drm_tegra_syncpoint_new(drm, &vic->base.syncpt); in vic40_new()
Dvic41.c264 drm_tegra_syncpoint_free(v->syncpt); in vic41_free()
293 err = drm_tegra_syncpoint_new(drm, &vic->base.syncpt); in vic41_new()
Dvic42.c264 drm_tegra_syncpoint_free(v->syncpt); in vic42_free()
293 err = drm_tegra_syncpoint_new(drm, &vic->base.syncpt); in vic42_new()
Dvic.h147 struct drm_tegra_syncpoint *syncpt; member
Dvic-clear.c137 err = drm_tegra_pushbuf_sync_cond(pushbuf, &pb, vic->syncpt, in main()
Dvic30.c356 drm_tegra_syncpoint_free(v->syncpt); in vic30_free()
385 err = drm_tegra_syncpoint_new(drm, &vic->base.syncpt); in vic30_new()
/third_party/libdrm/include/drm/
Dtegra_drm.h239 __u32 syncpt; member
381 __u32 syncpt; member
991 struct drm_tegra_submit_syncpt syncpt; member
/third_party/mesa3d/include/drm-uapi/
Dtegra_drm.h256 __u32 syncpt; member
398 __u32 syncpt; member