/third_party/libdrm/tegra/ |
D | syncpt.c | 39 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 …]
|
D | job.c | 144 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()
|
D | pushbuf.c | 106 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()
|
D | tegra.h | 80 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);
|
D | private.h | 106 } syncpt; member
|
D | meson.build | 25 'channel.c', 'job.c', 'private.h', 'pushbuf.c', 'syncpt.c', 'tegra.c'
|
/third_party/libdrm/tests/tegra/ |
D | syncpt-timeout.c | 63 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()
|
D | syncpt-wait.c | 63 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()
|
D | meson.build | 69 'tegra-syncpt-wait', 70 files('syncpt-wait.c'), 78 'tegra-syncpt-timeout', 79 files('syncpt-timeout.c'),
|
D | vic-blit.c | 73 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()
|
D | vic-flip.c | 73 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()
|
D | vic40.c | 260 drm_tegra_syncpoint_free(v->syncpt); in vic40_free() 289 err = drm_tegra_syncpoint_new(drm, &vic->base.syncpt); in vic40_new()
|
D | vic41.c | 264 drm_tegra_syncpoint_free(v->syncpt); in vic41_free() 293 err = drm_tegra_syncpoint_new(drm, &vic->base.syncpt); in vic41_new()
|
D | vic42.c | 264 drm_tegra_syncpoint_free(v->syncpt); in vic42_free() 293 err = drm_tegra_syncpoint_new(drm, &vic->base.syncpt); in vic42_new()
|
D | vic.h | 147 struct drm_tegra_syncpoint *syncpt; member
|
D | vic-clear.c | 137 err = drm_tegra_pushbuf_sync_cond(pushbuf, &pb, vic->syncpt, in main()
|
D | vic30.c | 356 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/ |
D | tegra_drm.h | 239 __u32 syncpt; member 381 __u32 syncpt; member 991 struct drm_tegra_submit_syncpt syncpt; member
|
/third_party/mesa3d/include/drm-uapi/ |
D | tegra_drm.h | 256 __u32 syncpt; member 398 __u32 syncpt; member
|