Lines Matching refs:funcs

169 	    (!ring->funcs->secure_submission_supported)) {  in amdgpu_ib_schedule()
174 alloc_size = ring->funcs->emit_frame_size + num_ibs * in amdgpu_ib_schedule()
175 ring->funcs->emit_ib_size; in amdgpu_ib_schedule()
184 if (ring->funcs->emit_pipeline_sync && job && in amdgpu_ib_schedule()
196 if ((ib->flags & AMDGPU_IB_FLAG_EMIT_MEM_SYNC) && ring->funcs->emit_mem_sync) in amdgpu_ib_schedule()
197 ring->funcs->emit_mem_sync(ring); in amdgpu_ib_schedule()
199 if (ring->funcs->emit_wave_limit && in amdgpu_ib_schedule()
201 ring->funcs->emit_wave_limit(ring, true); in amdgpu_ib_schedule()
203 if (ring->funcs->insert_start) in amdgpu_ib_schedule()
204 ring->funcs->insert_start(ring); in amdgpu_ib_schedule()
214 if (job && ring->funcs->init_cond_exec) in amdgpu_ib_schedule()
222 if (job && ring->funcs->emit_cntxcntl) { in amdgpu_ib_schedule()
231 if (job && ring->funcs->emit_frame_cntl) { in amdgpu_ib_schedule()
239 if (job && ring->funcs->emit_frame_cntl) { in amdgpu_ib_schedule()
251 if (job && ring->funcs->emit_frame_cntl) in amdgpu_ib_schedule()
269 amdgpu_vmid_reset(adev, ring->funcs->vmhub, job->vmid); in amdgpu_ib_schedule()
274 if (ring->funcs->insert_end) in amdgpu_ib_schedule()
275 ring->funcs->insert_end(ring); in amdgpu_ib_schedule()
277 if (patch_offset != ~0 && ring->funcs->patch_cond_exec) in amdgpu_ib_schedule()
281 if (vm && ring->funcs->emit_switch_buffer) in amdgpu_ib_schedule()
284 if (ring->funcs->emit_wave_limit && in amdgpu_ib_schedule()
286 ring->funcs->emit_wave_limit(ring, false); in amdgpu_ib_schedule()
390 if (!ring->sched.ready || !ring->funcs->test_ib) in amdgpu_ib_ring_tests()
394 ring->funcs->type == AMDGPU_RING_TYPE_KIQ) in amdgpu_ib_ring_tests()
398 if (ring->funcs->type == AMDGPU_RING_TYPE_UVD || in amdgpu_ib_ring_tests()
399 ring->funcs->type == AMDGPU_RING_TYPE_VCE || in amdgpu_ib_ring_tests()
400 ring->funcs->type == AMDGPU_RING_TYPE_UVD_ENC || in amdgpu_ib_ring_tests()
401 ring->funcs->type == AMDGPU_RING_TYPE_VCN_DEC || in amdgpu_ib_ring_tests()
402 ring->funcs->type == AMDGPU_RING_TYPE_VCN_ENC || in amdgpu_ib_ring_tests()
403 ring->funcs->type == AMDGPU_RING_TYPE_VCN_JPEG) in amdgpu_ib_ring_tests()