Home
last modified time | relevance | path

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

/drivers/gpu/host1x/
Dintr.c165 struct host1x_syncpt *syncpt, in process_wait_list() argument
175 spin_lock(&syncpt->intr.lock); in process_wait_list()
177 remove_completed_waiters(&syncpt->intr.wait_head, threshold, in process_wait_list()
180 empty = list_empty(&syncpt->intr.wait_head); in process_wait_list()
182 host1x_hw_intr_disable_syncpt_intr(host, syncpt->id); in process_wait_list()
184 reset_threshold_interrupt(host, &syncpt->intr.wait_head, in process_wait_list()
185 syncpt->id); in process_wait_list()
187 spin_unlock(&syncpt->intr.lock); in process_wait_list()
203 struct host1x_syncpt *syncpt = in syncpt_thresh_work() local
205 unsigned int id = syncpt->id; in syncpt_thresh_work()
[all …]
Dsyncpt.c38 struct host1x_syncpt *sp = host->syncpt; in _host1x_syncpt_alloc()
76 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore()
92 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
316 struct host1x_syncpt *syncpt; in host1x_syncpt_init() local
319 syncpt = devm_kzalloc(host->dev, sizeof(*syncpt) * host->info->nb_pts, in host1x_syncpt_init()
321 if (!syncpt) in host1x_syncpt_init()
325 syncpt[i].id = i; in host1x_syncpt_init()
326 syncpt[i].host = host; in host1x_syncpt_init()
329 host->syncpt = syncpt; in host1x_syncpt_init()
362 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_deinit()
[all …]
Ddev.h72 void (*restore)(struct host1x_syncpt *syncpt);
73 void (*restore_wait_base)(struct host1x_syncpt *syncpt);
74 void (*load_wait_base)(struct host1x_syncpt *syncpt);
75 u32 (*load)(struct host1x_syncpt *syncpt);
76 void (*cpu_incr)(struct host1x_syncpt *syncpt);
77 int (*patch_wait)(struct host1x_syncpt *syncpt, void *patch_addr);
104 struct host1x_syncpt *syncpt; member
Ddebug.c68 u32 max = host1x_syncpt_read_max(m->syncpt + i); in show_syncpts()
69 u32 min = host1x_syncpt_load(m->syncpt + i); in show_syncpts()
73 i, m->syncpt[i].name, min, max); in show_syncpts()
78 base_val = host1x_syncpt_load_wait_base(m->syncpt + i); in show_syncpts()
DMakefile4 syncpt.o \
Dcdma.h55 struct host1x_syncpt *syncpt; /* buffer completion syncpt */ member
Dcdma.c186 cdma->timeout.syncpt = host1x_syncpt_get(host, job->syncpt_id); in cdma_start_timer_locked()
278 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); in host1x_cdma_update_sync_queue()
Djob.c522 host1x_syncpt_load(host->syncpt + i); in host1x_job_pin()
/drivers/gpu/host1x/hw/
Dintr_hw.c32 static void host1x_intr_syncpt_handle(struct host1x_syncpt *syncpt) in host1x_intr_syncpt_handle() argument
34 unsigned int id = syncpt->id; in host1x_intr_syncpt_handle()
35 struct host1x *host = syncpt->host; in host1x_intr_syncpt_handle()
42 queue_work(host->intr_wq, &syncpt->intr.work); in host1x_intr_syncpt_handle()
55 struct host1x_syncpt *syncpt = in syncpt_thresh_isr() local
56 host->syncpt + (i * BITS_PER_LONG + id); in syncpt_thresh_isr()
57 host1x_intr_syncpt_handle(syncpt); in syncpt_thresh_isr()
84 INIT_WORK(&host->syncpt[i].intr.work, syncpt_thresh_work); in _host1x_intr_init_host_sync()
Dcdma_hw.c47 host1x_syncpt_cpu_incr(cdma->timeout.syncpt); in cdma_timeout_cpu_incr()
50 host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_cpu_incr()
266 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_handler()
281 __func__, cdma->timeout.syncpt->id, cdma->timeout.syncpt->name, in cdma_timeout_handler()
Dchannel_hw.c81 sp = host->syncpt + job->syncpt_id; in channel_submit()
/drivers/gpu/host1x/drm/
Dgr2d.c111 struct drm_tegra_syncpt syncpt; in gr2d_submit() local
170 err = copy_from_user(&syncpt, (void * __user)(uintptr_t)args->syncpts, in gr2d_submit()
171 sizeof(syncpt)); in gr2d_submit()
175 job->syncpt_id = syncpt.id; in gr2d_submit()
176 job->syncpt_incrs = syncpt.incrs; in gr2d_submit()
Ddrm.c453 struct host1x_syncpt *syncpt; in tegra_get_syncpt() local
461 syncpt = context->client->syncpts[args->index]; in tegra_get_syncpt()
462 args->id = host1x_syncpt_id(syncpt); in tegra_get_syncpt()
Ddc.c646 unsigned int syncpt; in tegra_crtc_prepare() local
654 syncpt = SYNCPT_VBLANK1; in tegra_crtc_prepare()
656 syncpt = SYNCPT_VBLANK0; in tegra_crtc_prepare()
660 tegra_dc_writel(dc, 0x100 | syncpt, DC_CMD_CONT_SYNCPT_VSYNC); in tegra_crtc_prepare()
Ddrm.h38 int syncpt; member
/drivers/staging/goldfish/
Dgoldfish_sync.c280 struct sync_pt *syncpt = NULL; in goldfish_sync_fence_create() local
290 syncpt = sw_sync_pt_create(tl, val); in goldfish_sync_fence_create()
291 if (!syncpt) { in goldfish_sync_fence_create()
307 sync_obj = sync_fence_create(fence_name, syncpt); in goldfish_sync_fence_create()
311 tl, val, syncpt); in goldfish_sync_fence_create()
324 sync_pt_free(syncpt); in goldfish_sync_fence_create()
/drivers/staging/android/
Dsync.h78 int (*fill_driver_data)(struct sync_pt *syncpt, void *data, int size);