Home
last modified time | relevance | path

Searched refs:num_ibs (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c189 unsigned int num_ibs, struct amdgpu_job **job) in amdgpu_job_alloc() argument
191 if (num_ibs == 0) in amdgpu_job_alloc()
194 *job = kzalloc(struct_size(*job, ibs, num_ibs), GFP_KERNEL); in amdgpu_job_alloc()
226 (*job)->num_ibs = 1; in amdgpu_job_alloc_with_ib()
268 for (i = 0; i < job->num_ibs; ++i) in amdgpu_job_free_resources()
337 r = amdgpu_ib_schedule(ring, job->num_ibs, job->ibs, job, fence); in amdgpu_job_submit_direct()
399 r = amdgpu_ib_schedule(ring, job->num_ibs, job->ibs, job, in amdgpu_job_run()
Damdgpu_trace.h176 __field(u32, num_ibs)
185 __entry->num_ibs = job->num_ibs;
189 __entry->seqno, __get_str(ring), __entry->num_ibs)
201 __field(u32, num_ibs)
210 __entry->num_ibs = job->num_ibs;
214 __entry->seqno, __get_str(ring), __entry->num_ibs)
Damdgpu_job.h82 uint32_t num_ibs; member
93 unsigned int num_ibs, struct amdgpu_job **job);
Damdgpu_ib.c126 int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned int num_ibs, in amdgpu_ib_schedule() argument
147 if (num_ibs == 0) in amdgpu_ib_schedule()
184 alloc_size = ring->funcs->emit_frame_size + num_ibs * in amdgpu_ib_schedule()
253 for (i = 0; i < num_ibs; ++i) { in amdgpu_ib_schedule()
Damdgpu_cs.c109 unsigned int *num_ibs) in amdgpu_cs_p1_ib() argument
117 if (num_ibs[r] >= amdgpu_ring_max_ibs(chunk_ib->ip_type)) in amdgpu_cs_p1_ib()
120 ++(num_ibs[r]); in amdgpu_cs_p1_ib()
179 unsigned int num_ibs[AMDGPU_CS_GANG_SIZE] = { }; in amdgpu_cs_pass1() local
247 ret = amdgpu_cs_p1_ib(p, p->chunks[i].kdata, num_ibs); in amdgpu_cs_pass1()
296 num_ibs[i], &p->jobs[i]); in amdgpu_cs_pass1()
350 ib = &job->ibs[job->num_ibs++]; in amdgpu_cs_p2_ib()
1015 for (j = 0; j < job->num_ibs; ++j) in trace_amdgpu_cs_ibs()
1031 for (i = 0; i < job->num_ibs; ++i) { in amdgpu_cs_patch_ibs()
Damdgpu_ring.h475 int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
Damdgpu_amdkfd.c696 job->num_ibs = 1; in amdgpu_amdkfd_submit_ib()