Searched refs:num_ibs (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ ! |
D | amdgpu_job.c | 95 unsigned int num_ibs, struct amdgpu_job **job) in amdgpu_job_alloc() argument 97 if (num_ibs == 0) in amdgpu_job_alloc() 100 *job = kzalloc(struct_size(*job, ibs, num_ibs), GFP_KERNEL); in amdgpu_job_alloc() 132 (*job)->num_ibs = 1; in amdgpu_job_alloc_with_ib() 174 for (i = 0; i < job->num_ibs; ++i) in amdgpu_job_free_resources() 243 r = amdgpu_ib_schedule(ring, job->num_ibs, job->ibs, job, fence); in amdgpu_job_submit_direct() 305 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 | 79 uint32_t num_ibs; member 90 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() 252 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() 292 num_ibs[i], &p->jobs[i]); in amdgpu_cs_pass1() 345 ib = &job->ibs[job->num_ibs++]; in amdgpu_cs_p2_ib() 1010 for (j = 0; j < job->num_ibs; ++j) in trace_amdgpu_cs_ibs() 1026 for (i = 0; i < job->num_ibs; ++i) { in amdgpu_cs_patch_ibs()
|
D | amdgpu_ring.h | 444 int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
|
D | amdgpu_amdkfd.c | 686 job->num_ibs = 1; in amdgpu_amdkfd_submit_ib()
|