Lines Matching refs:exec

69 	struct vc4_exec_info *exec;  in vc4_overflow_mem_work()  local
94 exec = vc4_first_bin_job(vc4); in vc4_overflow_mem_work()
95 if (!exec) in vc4_overflow_mem_work()
96 exec = vc4_last_render_job(vc4); in vc4_overflow_mem_work()
97 if (exec) { in vc4_overflow_mem_work()
98 exec->bin_slots |= vc4->bin_alloc_overflow; in vc4_overflow_mem_work()
122 struct vc4_exec_info *next, *exec = vc4_first_bin_job(vc4); in vc4_irq_finish_bin_job() local
124 if (!exec) in vc4_irq_finish_bin_job()
127 trace_vc4_bcl_end_irq(dev, exec->seqno); in vc4_irq_finish_bin_job()
129 vc4_move_job_to_render(dev, exec); in vc4_irq_finish_bin_job()
136 if (next && next->perfmon == exec->perfmon) in vc4_irq_finish_bin_job()
144 struct vc4_exec_info *exec = vc4_first_bin_job(vc4); in vc4_cancel_bin_job() local
146 if (!exec) in vc4_cancel_bin_job()
150 if (exec->perfmon) in vc4_cancel_bin_job()
151 vc4_perfmon_stop(vc4, exec->perfmon, false); in vc4_cancel_bin_job()
153 list_move_tail(&exec->head, &vc4->bin_job_list); in vc4_cancel_bin_job()
161 struct vc4_exec_info *exec = vc4_first_render_job(vc4); in vc4_irq_finish_render_job() local
164 if (!exec) in vc4_irq_finish_render_job()
167 trace_vc4_rcl_end_irq(dev, exec->seqno); in vc4_irq_finish_render_job()
170 list_move_tail(&exec->head, &vc4->job_done_list); in vc4_irq_finish_render_job()
178 if (exec->perfmon && !nextrender && in vc4_irq_finish_render_job()
179 (!nextbin || nextbin->perfmon != exec->perfmon)) in vc4_irq_finish_render_job()
180 vc4_perfmon_stop(vc4, exec->perfmon, true); in vc4_irq_finish_render_job()
191 else if (nextbin && nextbin->perfmon != exec->perfmon) in vc4_irq_finish_render_job()
194 if (exec->fence) { in vc4_irq_finish_render_job()
195 dma_fence_signal_locked(exec->fence); in vc4_irq_finish_render_job()
196 dma_fence_put(exec->fence); in vc4_irq_finish_render_job()
197 exec->fence = NULL; in vc4_irq_finish_render_job()