Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/host1x/
A Dintr.c174 spin_lock(&syncpt->intr.lock); in process_wait_list()
184 syncpt->id); in process_wait_list()
186 spin_unlock(&syncpt->intr.lock); in process_wait_list()
202 struct host1x_syncpt *syncpt = in syncpt_thresh_work() local
204 unsigned int id = syncpt->id; in syncpt_thresh_work()
234 spin_lock(&syncpt->intr.lock); in host1x_intr_add_action()
259 struct host1x_syncpt *syncpt; in host1x_intr_put_ref() local
263 syncpt = host->syncpt + id; in host1x_intr_put_ref()
265 spin_lock(&syncpt->intr.lock); in host1x_intr_put_ref()
291 struct host1x_syncpt *syncpt = host->syncpt + id; in host1x_intr_init() local
[all …]
A Dsyncpt.c61 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc()
337 struct host1x_syncpt *syncpt; in host1x_syncpt_init() local
340 syncpt = devm_kcalloc(host->dev, host->info->nb_pts, sizeof(*syncpt), in host1x_syncpt_init()
342 if (!syncpt) in host1x_syncpt_init()
351 syncpt[i].id = i; in host1x_syncpt_init()
352 syncpt[i].host = host; in host1x_syncpt_init()
366 host->syncpt = syncpt; in host1x_syncpt_init()
378 kref_init(&host->syncpt[26].ref); in host1x_syncpt_init()
379 kref_init(&host->syncpt[27].ref); in host1x_syncpt_init()
516 return &host->syncpt[id]; in host1x_syncpt_get_by_id()
[all …]
A Ddebug.c78 u32 max = host1x_syncpt_read_max(m->syncpt + i); in show_syncpts()
79 u32 min = host1x_syncpt_load(m->syncpt + i); in show_syncpts()
82 spin_lock(&m->syncpt[i].intr.lock); in show_syncpts()
83 list_for_each(pos, &m->syncpt[i].intr.wait_head) in show_syncpts()
85 spin_unlock(&m->syncpt[i].intr.lock); in show_syncpts()
92 i, m->syncpt[i].name, min, max, waiters); in show_syncpts()
98 base_val = host1x_syncpt_load_wait_base(m->syncpt + i); in show_syncpts()
A Ddev.h65 void (*restore)(struct host1x_syncpt *syncpt);
66 void (*restore_wait_base)(struct host1x_syncpt *syncpt);
67 void (*load_wait_base)(struct host1x_syncpt *syncpt);
68 u32 (*load)(struct host1x_syncpt *syncpt);
69 int (*cpu_incr)(struct host1x_syncpt *syncpt);
70 void (*assign_to_channel)(struct host1x_syncpt *syncpt,
117 struct host1x_syncpt *syncpt; member
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()
534 if (job->syncpt->locked) { in host1x_cdma_begin()
A Djob.c92 host1x_intr_put_ref(job->syncpt->host, job->syncpt->id, in job_free()
95 if (job->syncpt) in job_free()
96 host1x_syncpt_put(job->syncpt); in job_free()
724 dev_dbg(dev, " SYNCPT_ID %d\n", job->syncpt->id); in host1x_job_dump()
A DMakefile4 syncpt.o \
A Dintr.h70 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt,
A Dcdma.h46 struct host1x_syncpt *syncpt; /* buffer completion syncpt */ member
/linux/drivers/gpu/host1x/hw/
A Dintr_hw.c20 static void host1x_intr_syncpt_handle(struct host1x_syncpt *syncpt) in host1x_intr_syncpt_handle() argument
22 unsigned int id = syncpt->id; in host1x_intr_syncpt_handle()
23 struct host1x *host = syncpt->host; in host1x_intr_syncpt_handle()
30 schedule_work(&syncpt->intr.work); in host1x_intr_syncpt_handle()
43 struct host1x_syncpt *syncpt = in syncpt_thresh_isr() local
44 host->syncpt + (i * 32 + id); in syncpt_thresh_isr()
45 host1x_intr_syncpt_handle(syncpt); in syncpt_thresh_isr()
91 INIT_WORK(&host->syncpt[i].intr.work, syncpt_thresh_work); in _host1x_intr_init_host_sync()
136 cancel_work_sync(&host->syncpt[i].intr.work); in _host1x_free_syncpt_irq()
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()
272 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_handler()
285 __func__, cdma->timeout.syncpt->id, cdma->timeout.syncpt->name, in cdma_timeout_handler()
A Dchannel_hw.c134 struct host1x_syncpt *sp = job->syncpt; in synchronize_syncpt_base()
165 struct host1x_syncpt *sp = job->syncpt; in channel_submit()
175 job->syncpt->id, job->syncpt_incrs); in channel_submit()
209 host1x_class_host_wait_syncpt(job->syncpt->id, in channel_submit()
A Ddebug_hw.c202 job->syncpt->id, job->syncpt_end, job->timeout, in show_channel_gathers()
/linux/drivers/gpu/drm/tegra/
A Ddrm.c173 struct drm_tegra_syncpt syncpt; in tegra_drm_submit() local
299 if (copy_from_user(&syncpt, user_syncpt, sizeof(syncpt))) { in tegra_drm_submit()
305 sp = host1x_syncpt_get_by_id(host1x, syncpt.id); in tegra_drm_submit()
313 job->syncpt_incrs = syncpt.incrs; in tegra_drm_submit()
314 job->syncpt = sp; in tegra_drm_submit()
509 struct host1x_syncpt *syncpt; in tegra_get_syncpt() local
525 syncpt = context->client->base.syncpts[args->index]; in tegra_get_syncpt()
526 args->id = host1x_syncpt_id(syncpt); in tegra_get_syncpt()
563 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base() local
579 syncpt = context->client->base.syncpts[args->syncpt]; in tegra_get_syncpt_base()
[all …]
A Dsubmit.c308 if (args->syncpt.flags) { in submit_get_syncpt()
314 sp = xa_load(syncpoints, args->syncpt.id); in submit_get_syncpt()
320 job->syncpt = host1x_syncpt_get(sp); in submit_get_syncpt()
321 job->syncpt_incrs = args->syncpt.increments; in submit_get_syncpt()
433 if (cmd->wait_syncpt.id != args->syncpt.id) { in submit_create_job()
589 args->syncpt.value = job->syncpt_end; in tegra_drm_ioctl_channel_submit()
592 struct dma_fence *fence = host1x_fence_create(job->syncpt, job->syncpt_end); in tegra_drm_ioctl_channel_submit()
A Ddc.c1661 if (dc->syncpt && !dc->soc->has_nvdisplay) in tegra_dc_get_vblank_counter()
1662 return host1x_syncpt_read(dc->syncpt); in tegra_dc_get_vblank_counter()
2012 if (dc->syncpt) { in tegra_crtc_atomic_enable()
2013 u32 syncpt = host1x_syncpt_id(dc->syncpt), enable; in tegra_crtc_atomic_enable() local
2023 value = enable | syncpt; in tegra_crtc_atomic_enable()
2471 dc->syncpt = host1x_syncpt_request(client, flags); in tegra_dc_init()
2472 if (!dc->syncpt) in tegra_dc_init()
2556 host1x_syncpt_put(dc->syncpt); in tegra_dc_init()
2581 host1x_syncpt_put(dc->syncpt); in tegra_dc_exit()
A Ddc.h83 struct host1x_syncpt *syncpt; member
/linux/fs/jfs/
A Djfs_logmgr.h282 } syncpt; member
394 int syncpt; /* 4: addr of last syncpt record */ member
485 diff = (lsn) - (log)->syncpt;\
A Djfs_logmgr.c954 if (log->sync == log->syncpt) { in lmLogSync()
971 if (log->sync != log->syncpt) { in lmLogSync()
979 log->syncpt = log->sync; in lmLogSync()
1013 log->syncpt = log->sync = lsn; in lmLogSync()
1028 log->syncpt); in lmLogSync()
1374 lrd.log.syncpt.sync = 0; in lmLogInit()
1398 log->syncpt = lsn; in lmLogInit()
1399 log->sync = log->syncpt; in lmLogInit()
1403 log->lsn, log->syncpt, log->sync); in lmLogInit()
1661 lrd.log.syncpt.sync = 0; in lmLogShutdown()
[all …]
/linux/include/uapi/drm/
A Dtegra_drm.h239 __u32 syncpt; member
381 __u32 syncpt; member
991 struct drm_tegra_submit_syncpt syncpt; member
/linux/include/linux/
A Dhost1x.h235 struct host1x_syncpt *syncpt; member
/linux/net/tipc/
A Dnode.c1926 u16 rcv_nxt, syncpt, dlv_nxt, inputq_len; in tipc_node_check_state() local
1984 syncpt = oseqno + exp_pkts - 1; in tipc_node_check_state()
2003 if (less(syncpt, n->sync_point)) in tipc_node_check_state()
2004 n->sync_point = syncpt; in tipc_node_check_state()
2024 syncpt = msg_syncpt(hdr); in tipc_node_check_state()
2026 syncpt = msg_seqno(msg_inner_hdr(hdr)) + exp_pkts - 1; in tipc_node_check_state()
2030 n->sync_point = syncpt; in tipc_node_check_state()
/linux/arch/arm/boot/dts/
A Dtegra114.dtsi23 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
25 interrupt-names = "syncpt", "host1x";
A Dtegra20.dtsi38 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
40 interrupt-names = "syncpt", "host1x";
/linux/Documentation/gpu/
A Dtegra.rst58 .. kernel-doc:: drivers/gpu/host1x/syncpt.c

Completed in 54 milliseconds

12