Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/host1x/
H A Dsyncpt.c62 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc()
138 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore()
165 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
283 struct host1x_syncpt *syncpt; in host1x_syncpt_init() local
286 syncpt = devm_kcalloc(host->dev, host->info->nb_pts, sizeof(*syncpt), in host1x_syncpt_init()
288 if (!syncpt) in host1x_syncpt_init()
297 syncpt[i].id = i; in host1x_syncpt_init()
298 syncpt[i].host = host; in host1x_syncpt_init()
305 host->syncpt = syncpt; in host1x_syncpt_init()
314 kref_init(&host->syncpt[26].ref); in host1x_syncpt_init()
[all …]
H A Ddebug.c92 u32 max = host1x_syncpt_read_max(m->syncpt + i); in show_syncpts()
93 u32 min = host1x_syncpt_load(m->syncpt + i); in show_syncpts()
96 spin_lock_irqsave(&m->syncpt[i].fences.lock, irqflags); in show_syncpts()
97 list_for_each(pos, &m->syncpt[i].fences.list) in show_syncpts()
99 spin_unlock_irqrestore(&m->syncpt[i].fences.lock, irqflags); in show_syncpts()
101 if (!kref_read(&m->syncpt[i].ref)) in show_syncpts()
109 i, m->syncpt[i].name, min, max, waiters); in show_syncpts()
115 base_val = host1x_syncpt_load_wait_base(m->syncpt + i); in show_syncpts()
H A Dintr.c77 struct host1x_syncpt *sp = &host->syncpt[id]; in host1x_intr_handle_interrupt()
110 struct host1x_syncpt *syncpt = &host->syncpt[id]; in host1x_intr_init() local
112 spin_lock_init(&syncpt->fences.lock); in host1x_intr_init()
113 INIT_LIST_HEAD(&syncpt->fences.list); in host1x_intr_init()
H A Ddev.h67 void (*restore)(struct host1x_syncpt *syncpt);
68 void (*restore_wait_base)(struct host1x_syncpt *syncpt);
69 void (*load_wait_base)(struct host1x_syncpt *syncpt);
70 u32 (*load)(struct host1x_syncpt *syncpt);
71 int (*cpu_incr)(struct host1x_syncpt *syncpt);
72 void (*assign_to_channel)(struct host1x_syncpt *syncpt,
137 struct host1x_syncpt *syncpt; member
H A Dcdma.c282 cdma->timeout.syncpt = job->syncpt; in cdma_start_timer_locked()
320 struct host1x_syncpt *sp = job->syncpt; in update_cdma_locked()
370 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); in host1x_cdma_update_sync_queue()
441 host1x_syncpt_set_locked(job->syncpt); in host1x_cdma_update_sync_queue()
447 if (job->syncpt != failed_job->syncpt) in host1x_cdma_update_sync_queue()
559 if (job->syncpt->locked) { in host1x_cdma_begin()
H A DMakefile4 syncpt.o \
H A Dcdma.h47 struct host1x_syncpt *syncpt; /* buffer completion syncpt */ member
H A Djob.c101 if (job->syncpt) in job_free()
102 host1x_syncpt_put(job->syncpt); in job_free()
684 dev_dbg(dev, " SYNCPT_ID %d\n", job->syncpt->id); in host1x_job_dump()
/linux/drivers/gpu/host1x/hw/
H A Dchannel_hw.c165 struct host1x_syncpt *sp = job->syncpt; in synchronize_syncpt_base()
215 struct host1x_syncpt *sp = job->syncpt; in channel_program_cdma()
231 HOST1X_UCLASS_INCR_SYNCPT_INDX_F(job->syncpt->id) | in channel_program_cdma()
233 submit_wait(job, job->syncpt->id, fence, job->class); in channel_program_cdma()
243 HOST1X_UCLASS_INCR_SYNCPT_INDX_F(job->syncpt->id) | in channel_program_cdma()
245 submit_wait(job, job->syncpt->id, fence, job->class); in channel_program_cdma()
259 host1x_class_host_wait_syncpt(job->syncpt->id, in channel_program_cdma()
290 struct host1x_syncpt *sp = job->syncpt; in channel_submit()
298 job->syncpt->id, job->syncpt_incrs); in channel_submit()
H A Dcdma_hw.c34 host1x_syncpt_incr(cdma->timeout.syncpt); in cdma_timeout_cpu_incr()
37 host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_cpu_incr()
303 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_handler()
316 __func__, cdma->timeout.syncpt->id, cdma->timeout.syncpt->name, in cdma_timeout_handler()
H A Ddebug_hw.c202 job->syncpt->id, job->syncpt_end, job->timeout, in show_channel_gathers()
/linux/drivers/crypto/tegra/
H A Dtegra-se-main.c155 job->syncpt = host1x_syncpt_get(se->syncpt); in tegra_se_host1x_submit()
179 ret = host1x_syncpt_wait(job->syncpt, job->syncpt_end, in tegra_se_host1x_submit()
208 se->syncpt = host1x_syncpt_request(&se->client, 0); in tegra_se_client_init()
209 if (!se->syncpt) { in tegra_se_client_init()
215 se->syncpt_id = host1x_syncpt_id(se->syncpt); in tegra_se_client_init()
234 host1x_syncpt_put(se->syncpt); in tegra_se_client_init()
247 host1x_syncpt_put(se->syncpt); in tegra_se_client_deinit()
H A Dtegra-se.h424 struct host1x_syncpt *syncpt; member
/linux/drivers/gpu/drm/tegra/
H A Ddrm.c177 struct drm_tegra_syncpt syncpt; in tegra_drm_submit() local
303 if (copy_from_user(&syncpt, user_syncpt, sizeof(syncpt))) { in tegra_drm_submit()
309 sp = host1x_syncpt_get_by_id(host1x, syncpt.id); in tegra_drm_submit()
317 job->syncpt_incrs = syncpt.incrs; in tegra_drm_submit()
318 job->syncpt = sp; in tegra_drm_submit()
520 struct host1x_syncpt *syncpt; in tegra_get_syncpt() local
536 syncpt = context->client->base.syncpts[args->index]; in tegra_get_syncpt()
537 args->id = host1x_syncpt_id(syncpt); in tegra_get_syncpt()
574 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base() local
585 if (args->syncpt >= context->client->base.num_syncpts) { in tegra_get_syncpt_base()
[all …]
H A Dsubmit.c332 if (args->syncpt.flags) { in submit_get_syncpt()
338 sp = xa_load(syncpoints, args->syncpt.id); in submit_get_syncpt()
344 job->syncpt = host1x_syncpt_get(sp); in submit_get_syncpt()
345 job->syncpt_incrs = args->syncpt.increments; in submit_get_syncpt()
457 if (cmd->wait_syncpt.id != args->syncpt.id) { in submit_create_job()
646 args->syncpt.value = job->syncpt_end; in tegra_drm_ioctl_channel_submit()
649 struct dma_fence *fence = host1x_fence_create(job->syncpt, job->syncpt_end, true); in tegra_drm_ioctl_channel_submit()
H A Ddc.c1767 if (dc->syncpt && !dc->soc->has_nvdisplay) in tegra_dc_get_vblank_counter()
1768 return host1x_syncpt_read(dc->syncpt); in tegra_dc_get_vblank_counter()
2170 if (dc->syncpt) { in tegra_crtc_atomic_enable()
2171 u32 syncpt = host1x_syncpt_id(dc->syncpt), enable; in tegra_crtc_atomic_enable() local
2181 value = enable | syncpt; in tegra_crtc_atomic_enable()
2636 dc->syncpt = host1x_syncpt_request(client, flags); in tegra_dc_init()
2637 if (!dc->syncpt) in tegra_dc_init()
2721 host1x_syncpt_put(dc->syncpt); in tegra_dc_init()
2746 host1x_syncpt_put(dc->syncpt); in tegra_dc_exit()
H A Ddc.h84 struct host1x_syncpt *syncpt; member
/linux/fs/jfs/
H A Djfs_logmgr.h282 } syncpt; member
394 int syncpt; /* 4: addr of last syncpt record */ member
485 diff = (lsn) - (log)->syncpt;\
H A Djfs_logmgr.c946 if (log->sync == log->syncpt) { in lmLogSync()
963 if (log->sync != log->syncpt) { in lmLogSync()
968 lrd.log.syncpt.sync = cpu_to_le32(log->sync); in lmLogSync()
971 log->syncpt = log->sync; in lmLogSync()
1005 log->syncpt = log->sync = lsn; in lmLogSync()
1020 log->syncpt); in lmLogSync()
1366 lrd.log.syncpt.sync = 0; in lmLogInit()
1390 log->syncpt = lsn; in lmLogInit()
1391 log->sync = log->syncpt; in lmLogInit()
1395 log->lsn, log->syncpt, log->sync); in lmLogInit()
[all …]
/linux/include/uapi/drm/
H A Dtegra_drm.h239 __u32 syncpt; member
381 __u32 syncpt; member
991 struct drm_tegra_submit_syncpt syncpt; member
/linux/net/tipc/
H A Dnode.c1938 u16 rcv_nxt, syncpt, dlv_nxt, inputq_len; in tipc_node_check_state() local
1996 syncpt = oseqno + exp_pkts - 1; in tipc_node_check_state()
2015 if (less(syncpt, n->sync_point)) in tipc_node_check_state()
2016 n->sync_point = syncpt; in tipc_node_check_state()
2036 syncpt = msg_syncpt(hdr); in tipc_node_check_state()
2038 syncpt = msg_seqno(msg_inner_hdr(hdr)) + exp_pkts - 1; in tipc_node_check_state()
2042 n->sync_point = syncpt; in tipc_node_check_state()
/linux/include/linux/
H A Dhost1x.h290 struct host1x_syncpt *syncpt; member
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra114.dtsi36 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
38 interrupt-names = "syncpt", "host1x";
H A Dtegra20.dtsi38 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
40 interrupt-names = "syncpt", "host1x";
/linux/Documentation/gpu/
H A Dtegra.rst58 .. kernel-doc:: drivers/gpu/host1x/syncpt.c

12