Lines Matching refs:submit

22 	struct etnaviv_gem_submit *submit = to_etnaviv_submit(sched_job);  in etnaviv_sched_run_job()  local
26 fence = etnaviv_gpu_submit(submit); in etnaviv_sched_run_job()
28 dev_dbg(submit->gpu->dev, "skipping bad job\n"); in etnaviv_sched_run_job()
36 struct etnaviv_gem_submit *submit = to_etnaviv_submit(sched_job); in etnaviv_sched_timedout_job() local
37 struct etnaviv_gpu *gpu = submit->gpu; in etnaviv_sched_timedout_job()
48 if (dma_fence_is_signaled(submit->out_fence)) in etnaviv_sched_timedout_job()
69 etnaviv_core_dump(submit); in etnaviv_sched_timedout_job()
70 etnaviv_gpu_recover_hang(submit); in etnaviv_sched_timedout_job()
85 struct etnaviv_gem_submit *submit = to_etnaviv_submit(sched_job); in etnaviv_sched_free_job() local
89 etnaviv_submit_put(submit); in etnaviv_sched_free_job()
98 int etnaviv_sched_push_job(struct etnaviv_gem_submit *submit) in etnaviv_sched_push_job() argument
100 struct etnaviv_gpu *gpu = submit->gpu; in etnaviv_sched_push_job()
110 drm_sched_job_arm(&submit->sched_job); in etnaviv_sched_push_job()
112 submit->out_fence = dma_fence_get(&submit->sched_job.s_fence->finished); in etnaviv_sched_push_job()
113 ret = xa_alloc_cyclic(&gpu->user_fences, &submit->out_fence_id, in etnaviv_sched_push_job()
114 submit->out_fence, xa_limit_32b, in etnaviv_sched_push_job()
117 drm_sched_job_cleanup(&submit->sched_job); in etnaviv_sched_push_job()
122 kref_get(&submit->refcount); in etnaviv_sched_push_job()
124 drm_sched_entity_push_job(&submit->sched_job); in etnaviv_sched_push_job()