Lines Matching refs:exec
67 struct vc4_exec_info *exec; in vc4_overflow_mem_work() local
92 exec = vc4_first_bin_job(vc4); in vc4_overflow_mem_work()
93 if (!exec) in vc4_overflow_mem_work()
94 exec = vc4_last_render_job(vc4); in vc4_overflow_mem_work()
95 if (exec) { in vc4_overflow_mem_work()
96 exec->bin_slots |= vc4->bin_alloc_overflow; in vc4_overflow_mem_work()
120 struct vc4_exec_info *next, *exec = vc4_first_bin_job(vc4); in vc4_irq_finish_bin_job() local
122 if (!exec) in vc4_irq_finish_bin_job()
125 trace_vc4_bcl_end_irq(dev, exec->seqno); in vc4_irq_finish_bin_job()
127 vc4_move_job_to_render(dev, exec); in vc4_irq_finish_bin_job()
134 if (next && next->perfmon == exec->perfmon) in vc4_irq_finish_bin_job()
142 struct vc4_exec_info *exec = vc4_first_bin_job(vc4); in vc4_cancel_bin_job() local
144 if (!exec) in vc4_cancel_bin_job()
148 if (exec->perfmon) in vc4_cancel_bin_job()
149 vc4_perfmon_stop(vc4, exec->perfmon, false); in vc4_cancel_bin_job()
151 list_move_tail(&exec->head, &vc4->bin_job_list); in vc4_cancel_bin_job()
159 struct vc4_exec_info *exec = vc4_first_render_job(vc4); in vc4_irq_finish_render_job() local
162 if (!exec) in vc4_irq_finish_render_job()
165 trace_vc4_rcl_end_irq(dev, exec->seqno); in vc4_irq_finish_render_job()
168 list_move_tail(&exec->head, &vc4->job_done_list); in vc4_irq_finish_render_job()
176 if (exec->perfmon && !nextrender && in vc4_irq_finish_render_job()
177 (!nextbin || nextbin->perfmon != exec->perfmon)) in vc4_irq_finish_render_job()
178 vc4_perfmon_stop(vc4, exec->perfmon, true); in vc4_irq_finish_render_job()
189 else if (nextbin && nextbin->perfmon != exec->perfmon) in vc4_irq_finish_render_job()
192 if (exec->fence) { in vc4_irq_finish_render_job()
193 dma_fence_signal_locked(exec->fence); in vc4_irq_finish_render_job()
194 dma_fence_put(exec->fence); in vc4_irq_finish_render_job()
195 exec->fence = NULL; in vc4_irq_finish_render_job()