Lines Matching refs:submit
1280 const struct etnaviv_gem_submit *submit = event->submit; in sync_point_perfmon_sample() local
1283 for (i = 0; i < submit->nr_pmrs; i++) { in sync_point_perfmon_sample()
1284 const struct etnaviv_perfmon_request *pmr = submit->pmrs + i; in sync_point_perfmon_sample()
1287 etnaviv_perfmon_process(gpu, pmr, submit->exec_state); in sync_point_perfmon_sample()
1312 const struct etnaviv_gem_submit *submit = event->submit; in sync_point_perfmon_sample_post() local
1318 for (i = 0; i < submit->nr_pmrs; i++) { in sync_point_perfmon_sample_post()
1319 const struct etnaviv_perfmon_request *pmr = submit->pmrs + i; in sync_point_perfmon_sample_post()
1337 struct dma_fence *etnaviv_gpu_submit(struct etnaviv_gem_submit *submit) in etnaviv_gpu_submit() argument
1339 struct etnaviv_gpu *gpu = submit->gpu; in etnaviv_gpu_submit()
1344 if (!submit->runtime_resumed) { in etnaviv_gpu_submit()
1350 submit->runtime_resumed = true; in etnaviv_gpu_submit()
1360 if (submit->nr_pmrs) in etnaviv_gpu_submit()
1381 etnaviv_gpu_start_fe_idleloop(gpu, submit->mmu_context); in etnaviv_gpu_submit()
1383 if (submit->prev_mmu_context) in etnaviv_gpu_submit()
1384 etnaviv_iommu_context_put(submit->prev_mmu_context); in etnaviv_gpu_submit()
1385 submit->prev_mmu_context = etnaviv_iommu_context_get(gpu->mmu_context); in etnaviv_gpu_submit()
1387 if (submit->nr_pmrs) { in etnaviv_gpu_submit()
1389 kref_get(&submit->refcount); in etnaviv_gpu_submit()
1390 gpu->event[event[1]].submit = submit; in etnaviv_gpu_submit()
1395 submit->cmdbuf.user_size = submit->cmdbuf.size - 8; in etnaviv_gpu_submit()
1396 etnaviv_buffer_queue(gpu, submit->exec_state, submit->mmu_context, in etnaviv_gpu_submit()
1397 event[0], &submit->cmdbuf); in etnaviv_gpu_submit()
1399 if (submit->nr_pmrs) { in etnaviv_gpu_submit()
1401 kref_get(&submit->refcount); in etnaviv_gpu_submit()
1402 gpu->event[event[2]].submit = submit; in etnaviv_gpu_submit()
1420 etnaviv_submit_put(event->submit); in sync_point_worker()