Home
last modified time | relevance | path

Searched refs:syncpt (Results 1 – 15 of 15) 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.c61 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_alloc()
112 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_restore()
128 struct host1x_syncpt *sp_base = host->syncpt; in host1x_syncpt_save()
343 struct host1x_syncpt *syncpt; in host1x_syncpt_init() local
346 syncpt = devm_kzalloc(host->dev, sizeof(*syncpt) * host->info->nb_pts, in host1x_syncpt_init()
348 if (!syncpt) in host1x_syncpt_init()
357 syncpt[i].id = i; in host1x_syncpt_init()
358 syncpt[i].host = host; in host1x_syncpt_init()
364 host->syncpt = syncpt; in host1x_syncpt_init()
402 struct host1x_syncpt *sp = host->syncpt; in host1x_syncpt_deinit()
[all …]
Ddev.h73 void (*restore)(struct host1x_syncpt *syncpt);
74 void (*restore_wait_base)(struct host1x_syncpt *syncpt);
75 void (*load_wait_base)(struct host1x_syncpt *syncpt);
76 u32 (*load)(struct host1x_syncpt *syncpt);
77 int (*cpu_incr)(struct host1x_syncpt *syncpt);
78 int (*patch_wait)(struct host1x_syncpt *syncpt, void *patch_addr);
105 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()
DMakefile3 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.c524 host1x_syncpt_load(host->syncpt + i); in host1x_job_pin()
/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 queue_work(host->intr_wq, &syncpt->intr.work); in host1x_intr_syncpt_handle()
54 struct host1x_syncpt *syncpt = in syncpt_thresh_isr() local
55 host->syncpt + (i * BITS_PER_LONG + id); in syncpt_thresh_isr()
56 host1x_intr_syncpt_handle(syncpt); in syncpt_thresh_isr()
83 INIT_WORK(&host->syncpt[i].intr.work, syncpt_thresh_work); in _host1x_intr_init_host_sync()
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()
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.c73 struct host1x_syncpt *sp = host->syncpt + job->syncpt_id; in synchronize_syncpt_base()
97 sp = host->syncpt + job->syncpt_id; in channel_submit()
/drivers/gpu/drm/tegra/
Ddrm.c187 struct drm_tegra_syncpt syncpt; in tegra_drm_submit() local
241 if (copy_from_user(&syncpt, (void __user *)(uintptr_t)args->syncpts, in tegra_drm_submit()
242 sizeof(syncpt))) { in tegra_drm_submit()
248 job->syncpt_incrs = syncpt.incrs; in tegra_drm_submit()
249 job->syncpt_id = syncpt.id; in tegra_drm_submit()
426 struct host1x_syncpt *syncpt; in tegra_get_syncpt() local
436 syncpt = context->client->base.syncpts[args->index]; in tegra_get_syncpt()
437 args->id = host1x_syncpt_id(syncpt); in tegra_get_syncpt()
464 struct host1x_syncpt *syncpt; in tegra_get_syncpt_base() local
471 if (args->syncpt >= context->client->base.num_syncpts) in tegra_get_syncpt_base()
[all …]
Ddc.c893 unsigned int syncpt; in tegra_crtc_prepare() local
903 syncpt = SYNCPT_VBLANK1; in tegra_crtc_prepare()
905 syncpt = SYNCPT_VBLANK0; in tegra_crtc_prepare()
909 tegra_dc_writel(dc, 0x100 | syncpt, DC_CMD_CONT_SYNCPT_VSYNC); in tegra_crtc_prepare()
/drivers/staging/goldfish/
Dgoldfish_sync.c279 struct sync_pt *syncpt = NULL; in goldfish_sync_fence_create() local
289 syncpt = sw_sync_pt_create(tl, val); in goldfish_sync_fence_create()
290 if (!syncpt) { in goldfish_sync_fence_create()
306 sync_obj = sync_fence_create(fence_name, syncpt); in goldfish_sync_fence_create()
310 tl, val, syncpt); in goldfish_sync_fence_create()
323 sync_pt_free(syncpt); in goldfish_sync_fence_create()
/drivers/staging/android/
Dsync.h70 int (*fill_driver_data)(struct sync_pt *syncpt, void *data, int size);