Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/gpu/host1x/
Dintr.c167 struct host1x_syncpt *syncpt, in process_wait_list() argument
177 spin_lock(&syncpt->intr.lock); in process_wait_list()
179 remove_completed_waiters(&syncpt->intr.wait_head, threshold, in process_wait_list()
182 empty = list_empty(&syncpt->intr.wait_head); in process_wait_list()
184 host1x_hw_intr_disable_syncpt_intr(host, syncpt->id); in process_wait_list()
186 reset_threshold_interrupt(host, &syncpt->intr.wait_head, in process_wait_list()
187 syncpt->id); in process_wait_list()
189 spin_unlock(&syncpt->intr.lock); in process_wait_list()
205 struct host1x_syncpt *syncpt = in syncpt_thresh_work() local
207 unsigned int id = syncpt->id; in syncpt_thresh_work()
[all …]
Dsyncpt.c60 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc()
132 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore()
150 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
379 struct host1x_syncpt *syncpt; in host1x_syncpt_init() local
382 syncpt = devm_kcalloc(host->dev, host->info->nb_pts, sizeof(*syncpt), in host1x_syncpt_init()
384 if (!syncpt) in host1x_syncpt_init()
393 syncpt[i].id = i; in host1x_syncpt_init()
394 syncpt[i].host = host; in host1x_syncpt_init()
401 host1x_hw_syncpt_assign_to_channel(host, &syncpt[i], NULL); in host1x_syncpt_init()
408 host->syncpt = syncpt; in host1x_syncpt_init()
[all …]
Ddev.h51 int (*timeout_init)(struct host1x_cdma *cdma, unsigned int syncpt);
76 void (*restore)(struct host1x_syncpt *syncpt);
77 void (*restore_wait_base)(struct host1x_syncpt *syncpt);
78 void (*load_wait_base)(struct host1x_syncpt *syncpt);
79 u32 (*load)(struct host1x_syncpt *syncpt);
80 int (*cpu_incr)(struct host1x_syncpt *syncpt);
81 void (*assign_to_channel)(struct host1x_syncpt *syncpt,
113 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.c82 u32 max = host1x_syncpt_read_max(m->syncpt + i); in show_syncpts()
83 u32 min = host1x_syncpt_load(m->syncpt + i); in show_syncpts()
89 i, m->syncpt[i].name, min, max); in show_syncpts()
95 base_val = host1x_syncpt_load_wait_base(m->syncpt + i); in show_syncpts()
DMakefile4 syncpt.o \
Dintr.h79 int host1x_intr_add_action(struct host1x *host, struct host1x_syncpt *syncpt,
Dcdma.h57 struct host1x_syncpt *syncpt; /* buffer completion syncpt */ member
Dcdma.c235 cdma->timeout.syncpt = host1x_syncpt_get(host, job->syncpt_id); in cdma_start_timer_locked()
328 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); in host1x_cdma_update_sync_queue()
/Linux-v4.19/drivers/gpu/host1x/hw/
Dintr_hw.c31 static void host1x_intr_syncpt_handle(struct host1x_syncpt *syncpt) in host1x_intr_syncpt_handle() argument
33 unsigned int id = syncpt->id; in host1x_intr_syncpt_handle()
34 struct host1x *host = syncpt->host; in host1x_intr_syncpt_handle()
41 schedule_work(&syncpt->intr.work); in host1x_intr_syncpt_handle()
54 struct host1x_syncpt *syncpt = in syncpt_thresh_isr() local
55 host->syncpt + (i * 32 + id); in syncpt_thresh_isr()
56 host1x_intr_syncpt_handle(syncpt); in syncpt_thresh_isr()
102 INIT_WORK(&host->syncpt[i].intr.work, syncpt_thresh_work); in _host1x_intr_init_host_sync()
147 cancel_work_sync(&host->syncpt[i].intr.work); in _host1x_free_syncpt_irq()
Dcdma_hw.c47 host1x_syncpt_incr(cdma->timeout.syncpt); in cdma_timeout_cpu_incr()
50 host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_cpu_incr()
277 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_handler()
290 __func__, cdma->timeout.syncpt->id, cdma->timeout.syncpt->name, in cdma_timeout_handler()
303 static int cdma_timeout_init(struct host1x_cdma *cdma, unsigned int syncpt) in cdma_timeout_init() argument
Dchannel_hw.c79 struct host1x_syncpt *sp = host->syncpt + job->syncpt_id; in synchronize_syncpt_base()
104 sp = host->syncpt + job->syncpt_id; in channel_submit()
/Linux-v4.19/drivers/gpu/drm/tegra/
Ddrm.c321 struct drm_tegra_syncpt syncpt; in tegra_drm_submit() local
446 if (copy_from_user(&syncpt, user_syncpt, sizeof(syncpt))) { in tegra_drm_submit()
452 sp = host1x_syncpt_get(host1x, syncpt.id); in tegra_drm_submit()
460 job->syncpt_incrs = syncpt.incrs; in tegra_drm_submit()
461 job->syncpt_id = syncpt.id; in tegra_drm_submit()
656 struct host1x_syncpt *syncpt; in tegra_get_syncpt() local
672 syncpt = context->client->base.syncpts[args->index]; in tegra_get_syncpt()
673 args->id = host1x_syncpt_id(syncpt); in tegra_get_syncpt()
710 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base() local
721 if (args->syncpt >= context->client->base.num_syncpts) { in tegra_get_syncpt_base()
[all …]
Ddc.c1545 if (dc->syncpt && !dc->soc->has_nvdisplay) in tegra_dc_get_vblank_counter()
1546 return host1x_syncpt_read(dc->syncpt); in tegra_dc_get_vblank_counter()
1791 if (dc->syncpt) { in tegra_crtc_atomic_enable()
1792 u32 syncpt = host1x_syncpt_id(dc->syncpt), enable; in tegra_crtc_atomic_enable() local
1802 value = enable | syncpt; in tegra_crtc_atomic_enable()
1991 dc->syncpt = host1x_syncpt_request(client, flags); in tegra_dc_init()
1992 if (!dc->syncpt) in tegra_dc_init()
2065 host1x_syncpt_free(dc->syncpt); in tegra_dc_init()
2084 host1x_syncpt_free(dc->syncpt); in tegra_dc_exit()
Ddc.h76 struct host1x_syncpt *syncpt; member
/Linux-v4.19/fs/jfs/
Djfs_logmgr.h295 } syncpt; member
407 int syncpt; /* 4: addr of last syncpt record */ member
498 diff = (lsn) - (log)->syncpt;\
Djfs_logmgr.c967 if (log->sync == log->syncpt) { in lmLogSync()
984 if (log->sync != log->syncpt) { in lmLogSync()
989 lrd.log.syncpt.sync = cpu_to_le32(log->sync); in lmLogSync()
992 log->syncpt = log->sync; in lmLogSync()
1026 log->syncpt = log->sync = lsn; in lmLogSync()
1041 log->syncpt); in lmLogSync()
1387 lrd.log.syncpt.sync = 0; in lmLogInit()
1411 log->syncpt = lsn; in lmLogInit()
1412 log->sync = log->syncpt; in lmLogInit()
1416 log->lsn, log->syncpt, log->sync); in lmLogInit()
[all …]
/Linux-v4.19/include/uapi/drm/
Dtegra_drm.h256 __u32 syncpt; member
398 __u32 syncpt; member
/Linux-v4.19/net/tipc/
Dnode.c1565 u16 rcv_nxt, syncpt, dlv_nxt, inputq_len; in tipc_node_check_state() local
1616 syncpt = oseqno + exp_pkts - 1; in tipc_node_check_state()
1631 if (less(syncpt, n->sync_point)) in tipc_node_check_state()
1632 n->sync_point = syncpt; in tipc_node_check_state()
1651 syncpt = iseqno + exp_pkts - 1; in tipc_node_check_state()
1655 n->sync_point = syncpt; in tipc_node_check_state()
/Linux-v4.19/Documentation/gpu/
Dtegra.rst58 .. kernel-doc:: drivers/gpu/host1x/syncpt.c
/Linux-v4.19/Documentation/devicetree/bindings/display/tegra/
Dnvidia,tegra20-host1x.txt289 interrupts = <0 65 0x04 /* mpcore syncpt */
/Linux-v4.19/arch/arm/boot/dts/
Dtegra114.dtsi22 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
Dtegra20.dtsi35 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
Dtegra30.dtsi115 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
Dtegra124.dtsi89 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
/Linux-v4.19/arch/arm64/boot/dts/nvidia/
Dtegra132.dtsi87 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */

12