Lines Matching refs:funcs
179 (!ring->funcs->secure_submission_supported)) { in amdgpu_ib_schedule()
184 alloc_size = ring->funcs->emit_frame_size + num_ibs * in amdgpu_ib_schedule()
185 ring->funcs->emit_ib_size; in amdgpu_ib_schedule()
194 if (ring->funcs->emit_pipeline_sync && job && in amdgpu_ib_schedule()
206 if ((ib->flags & AMDGPU_IB_FLAG_EMIT_MEM_SYNC) && ring->funcs->emit_mem_sync) in amdgpu_ib_schedule()
207 ring->funcs->emit_mem_sync(ring); in amdgpu_ib_schedule()
209 if (ring->funcs->emit_wave_limit && in amdgpu_ib_schedule()
211 ring->funcs->emit_wave_limit(ring, true); in amdgpu_ib_schedule()
213 if (ring->funcs->insert_start) in amdgpu_ib_schedule()
214 ring->funcs->insert_start(ring); in amdgpu_ib_schedule()
226 if (ring->funcs->emit_gfx_shadow) in amdgpu_ib_schedule()
230 if (ring->funcs->init_cond_exec) in amdgpu_ib_schedule()
239 if (job && ring->funcs->emit_cntxcntl) { in amdgpu_ib_schedule()
248 if (job && ring->funcs->emit_frame_cntl) { in amdgpu_ib_schedule()
256 if (job && ring->funcs->emit_frame_cntl) { in amdgpu_ib_schedule()
268 if (job && ring->funcs->emit_frame_cntl) in amdgpu_ib_schedule()
282 if (ring->funcs->emit_gfx_shadow && ring->funcs->init_cond_exec) { in amdgpu_ib_schedule()
296 if (ring->funcs->insert_end) in amdgpu_ib_schedule()
297 ring->funcs->insert_end(ring); in amdgpu_ib_schedule()
302 if (vm && ring->funcs->emit_switch_buffer) in amdgpu_ib_schedule()
305 if (ring->funcs->emit_wave_limit && in amdgpu_ib_schedule()
307 ring->funcs->emit_wave_limit(ring, false); in amdgpu_ib_schedule()
411 if (!ring->sched.ready || !ring->funcs->test_ib) in amdgpu_ib_ring_tests()
415 ring->funcs->type == AMDGPU_RING_TYPE_KIQ) in amdgpu_ib_ring_tests()
419 if (ring->funcs->type == AMDGPU_RING_TYPE_UVD || in amdgpu_ib_ring_tests()
420 ring->funcs->type == AMDGPU_RING_TYPE_VCE || in amdgpu_ib_ring_tests()
421 ring->funcs->type == AMDGPU_RING_TYPE_UVD_ENC || in amdgpu_ib_ring_tests()
422 ring->funcs->type == AMDGPU_RING_TYPE_VCN_DEC || in amdgpu_ib_ring_tests()
423 ring->funcs->type == AMDGPU_RING_TYPE_VCN_ENC || in amdgpu_ib_ring_tests()
424 ring->funcs->type == AMDGPU_RING_TYPE_VCN_JPEG) in amdgpu_ib_ring_tests()