Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c95 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()
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.h79 uint32_t num_ibs; member
90 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()
252 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()
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()
Damdgpu_ring.h444 int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
Damdgpu_amdkfd.c686 job->num_ibs = 1; in amdgpu_amdkfd_submit_ib()