Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/host1x/
Dintr.c155 struct host1x_syncpt *syncpt, in process_wait_list() argument
165 spin_lock(&syncpt->intr.lock); in process_wait_list()
167 remove_completed_waiters(&syncpt->intr.wait_head, threshold, in process_wait_list()
170 empty = list_empty(&syncpt->intr.wait_head); in process_wait_list()
172 host1x_hw_intr_disable_syncpt_intr(host, syncpt->id); in process_wait_list()
174 reset_threshold_interrupt(host, &syncpt->intr.wait_head, in process_wait_list()
175 syncpt->id); in process_wait_list()
177 spin_unlock(&syncpt->intr.lock); in process_wait_list()
193 struct host1x_syncpt *syncpt = in syncpt_thresh_work() local
195 unsigned int id = syncpt->id; in syncpt_thresh_work()
[all …]
Dsyncpt.c49 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc()
121 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore()
139 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
368 struct host1x_syncpt *syncpt; in host1x_syncpt_init() local
371 syncpt = devm_kcalloc(host->dev, host->info->nb_pts, sizeof(*syncpt), in host1x_syncpt_init()
373 if (!syncpt) in host1x_syncpt_init()
382 syncpt[i].id = i; in host1x_syncpt_init()
383 syncpt[i].host = host; in host1x_syncpt_init()
390 host1x_hw_syncpt_assign_to_channel(host, &syncpt[i], NULL); in host1x_syncpt_init()
397 host->syncpt = syncpt; in host1x_syncpt_init()
[all …]
Ddev.h40 int (*timeout_init)(struct host1x_cdma *cdma, unsigned int syncpt);
65 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,
111 struct host1x_syncpt *syncpt; member
265 unsigned int syncpt) in host1x_hw_cdma_timeout_init() argument
267 return host->cdma_op->timeout_init(cdma, syncpt); in host1x_hw_cdma_timeout_init()
Ddebug.c77 u32 max = host1x_syncpt_read_max(m->syncpt + i); in show_syncpts()
78 u32 min = host1x_syncpt_load(m->syncpt + i); in show_syncpts()
84 i, m->syncpt[i].name, min, max); in show_syncpts()
90 base_val = host1x_syncpt_load_wait_base(m->syncpt + i); in show_syncpts()
DMakefile4 syncpt.o \
Dintr.h68 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt,
Dcdma.h46 struct host1x_syncpt *syncpt; /* buffer completion syncpt */ member
Dcdma.c284 cdma->timeout.syncpt = host1x_syncpt_get(host, job->syncpt_id); in cdma_start_timer_locked()
377 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); in host1x_cdma_update_sync_queue()
/kernel/linux/linux-5.10/drivers/gpu/host1x/hw/
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()
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()
298 static int cdma_timeout_init(struct host1x_cdma *cdma, unsigned int syncpt) in cdma_timeout_init() argument
Dchannel_hw.c90 struct host1x_syncpt *sp = host->syncpt + job->syncpt_id; in synchronize_syncpt_base()
129 sp = host->syncpt + job->syncpt_id; in channel_submit()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Ddrm.c171 struct drm_tegra_syncpt syncpt; in tegra_drm_submit() local
296 if (copy_from_user(&syncpt, user_syncpt, sizeof(syncpt))) { in tegra_drm_submit()
302 sp = host1x_syncpt_get(host1x, syncpt.id); in tegra_drm_submit()
310 job->syncpt_incrs = syncpt.incrs; in tegra_drm_submit()
311 job->syncpt_id = syncpt.id; in tegra_drm_submit()
506 struct host1x_syncpt *syncpt; in tegra_get_syncpt() local
522 syncpt = context->client->base.syncpts[args->index]; in tegra_get_syncpt()
523 args->id = host1x_syncpt_id(syncpt); in tegra_get_syncpt()
560 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base() local
571 if (args->syncpt >= context->client->base.num_syncpts) { in tegra_get_syncpt_base()
[all …]
Ddc.c1569 if (dc->syncpt && !dc->soc->has_nvdisplay) in tegra_dc_get_vblank_counter()
1570 return host1x_syncpt_read(dc->syncpt); in tegra_dc_get_vblank_counter()
1823 if (dc->syncpt) { in tegra_crtc_atomic_enable()
1824 u32 syncpt = host1x_syncpt_id(dc->syncpt), enable; in tegra_crtc_atomic_enable() local
1834 value = enable | syncpt; in tegra_crtc_atomic_enable()
2057 dc->syncpt = host1x_syncpt_request(client, flags); in tegra_dc_init()
2058 if (!dc->syncpt) in tegra_dc_init()
2136 host1x_syncpt_free(dc->syncpt); in tegra_dc_init()
2161 host1x_syncpt_free(dc->syncpt); in tegra_dc_exit()
Ddc.h73 struct host1x_syncpt *syncpt; member
/kernel/linux/linux-5.10/fs/jfs/
Djfs_logmgr.h282 } syncpt; member
394 int syncpt; /* 4: addr of last syncpt record */ member
485 diff = (lsn) - (log)->syncpt;\
Djfs_logmgr.c954 if (log->sync == log->syncpt) { in lmLogSync()
971 if (log->sync != log->syncpt) { in lmLogSync()
976 lrd.log.syncpt.sync = cpu_to_le32(log->sync); 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()
[all …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
Dtegra_drm.h77 __u32 syncpt; member
121 __u32 syncpt; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
Dtegra_drm.h67 __u32 syncpt; member
95 __u32 syncpt; member
/kernel/linux/linux-5.10/include/uapi/drm/
Dtegra_drm.h256 __u32 syncpt; member
398 __u32 syncpt; member
/kernel/linux/linux-5.10/net/tipc/
Dnode.c1909 u16 rcv_nxt, syncpt, dlv_nxt, inputq_len; in tipc_node_check_state() local
1967 syncpt = oseqno + exp_pkts - 1; in tipc_node_check_state()
1986 if (less(syncpt, n->sync_point)) in tipc_node_check_state()
1987 n->sync_point = syncpt; in tipc_node_check_state()
2007 syncpt = msg_syncpt(hdr); in tipc_node_check_state()
2009 syncpt = msg_seqno(msg_inner_hdr(hdr)) + exp_pkts - 1; in tipc_node_check_state()
2013 n->sync_point = syncpt; in tipc_node_check_state()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dtegra114.dtsi23 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
25 interrupt-names = "syncpt", "host1x";
Dtegra20.dtsi36 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
38 interrupt-names = "syncpt", "host1x";
Dtegra30.dtsi116 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
118 interrupt-names = "syncpt", "host1x";
/kernel/linux/linux-5.10/Documentation/gpu/
Dtegra.rst58 .. kernel-doc:: drivers/gpu/host1x/syncpt.c
/kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/
Dtegra132.dtsi86 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
88 interrupt-names = "syncpt", "host1x";

12