Searched refs:num_ibs (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_job.c | 189 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()
|
D | amdgpu_trace.h | 176 __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)
|
D | amdgpu_job.h | 82 uint32_t num_ibs; member 93 unsigned int num_ibs, struct amdgpu_job **job);
|
D | amdgpu_ib.c | 126 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()
|
D | amdgpu_cs.c | 109 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()
|
D | amdgpu_ring.h | 475 int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
|
D | amdgpu_amdkfd.c | 696 job->num_ibs = 1; in amdgpu_amdkfd_submit_ib()
|