Lines Matching refs:exec

64 	struct vc4_exec_info *exec;  in vc4_overflow_mem_work()  local
89 exec = vc4_first_bin_job(vc4); in vc4_overflow_mem_work()
90 if (!exec) in vc4_overflow_mem_work()
91 exec = vc4_last_render_job(vc4); in vc4_overflow_mem_work()
92 if (exec) { in vc4_overflow_mem_work()
93 exec->bin_slots |= vc4->bin_alloc_overflow; in vc4_overflow_mem_work()
117 struct vc4_exec_info *next, *exec = vc4_first_bin_job(vc4); in vc4_irq_finish_bin_job() local
119 if (!exec) in vc4_irq_finish_bin_job()
122 vc4_move_job_to_render(dev, exec); in vc4_irq_finish_bin_job()
129 if (next && next->perfmon == exec->perfmon) in vc4_irq_finish_bin_job()
137 struct vc4_exec_info *exec = vc4_first_bin_job(vc4); in vc4_cancel_bin_job() local
139 if (!exec) in vc4_cancel_bin_job()
143 if (exec->perfmon) in vc4_cancel_bin_job()
144 vc4_perfmon_stop(vc4, exec->perfmon, false); in vc4_cancel_bin_job()
146 list_move_tail(&exec->head, &vc4->bin_job_list); in vc4_cancel_bin_job()
154 struct vc4_exec_info *exec = vc4_first_render_job(vc4); in vc4_irq_finish_render_job() local
157 if (!exec) in vc4_irq_finish_render_job()
161 list_move_tail(&exec->head, &vc4->job_done_list); in vc4_irq_finish_render_job()
169 if (exec->perfmon && !nextrender && in vc4_irq_finish_render_job()
170 (!nextbin || nextbin->perfmon != exec->perfmon)) in vc4_irq_finish_render_job()
171 vc4_perfmon_stop(vc4, exec->perfmon, true); in vc4_irq_finish_render_job()
182 else if (nextbin && nextbin->perfmon != exec->perfmon) in vc4_irq_finish_render_job()
185 if (exec->fence) { in vc4_irq_finish_render_job()
186 dma_fence_signal_locked(exec->fence); in vc4_irq_finish_render_job()
187 dma_fence_put(exec->fence); in vc4_irq_finish_render_job()
188 exec->fence = NULL; in vc4_irq_finish_render_job()