Searched refs:num_ibs (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_job.c | 58 int amdgpu_job_alloc(struct amdgpu_device *adev, unsigned num_ibs, in amdgpu_job_alloc() argument 63 if (num_ibs == 0) in amdgpu_job_alloc() 66 size += sizeof(struct amdgpu_ib) * num_ibs; in amdgpu_job_alloc() 79 (*job)->num_ibs = num_ibs; in amdgpu_job_alloc() 114 for (i = 0; i < job->num_ibs; ++i) in amdgpu_job_free_resources() 174 r = amdgpu_ib_schedule(ring, job->num_ibs, job->ibs, NULL, fence); in amdgpu_job_submit_direct() 236 r = amdgpu_ib_schedule(ring, job->num_ibs, job->ibs, job, in amdgpu_job_run()
|
D | amdgpu_trace.h | 174 __field(u32, num_ibs) 183 __entry->num_ibs = job->num_ibs; 187 __entry->seqno, __get_str(ring), __entry->num_ibs) 199 __field(u32, num_ibs) 208 __entry->num_ibs = job->num_ibs; 212 __entry->seqno, __get_str(ring), __entry->num_ibs)
|
D | amdgpu_job.h | 51 uint32_t num_ibs; member 68 int amdgpu_job_alloc(struct amdgpu_device *adev, unsigned num_ibs,
|
D | amdgpu_ib.c | 122 int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs, in amdgpu_ib_schedule() argument 140 if (num_ibs == 0) in amdgpu_ib_schedule() 163 alloc_size = ring->funcs->emit_frame_size + num_ibs * in amdgpu_ib_schedule() 219 for (i = 0; i < num_ibs; ++i) { in amdgpu_ib_schedule()
|
D | amdgpu_cs.c | 111 unsigned size, num_ibs = 0; in amdgpu_cs_parser_init() local 185 ++num_ibs; in amdgpu_cs_parser_init() 229 ret = amdgpu_job_alloc(p->adev, num_ibs, &p->job, vm); in amdgpu_cs_parser_init() 799 for (i = 0, j = 0; i < p->nchunks && j < p->job->num_ibs; i++) { in amdgpu_cs_vm_handling() 949 for (i = 0, j = 0; i < parser->nchunks && j < parser->job->num_ibs; i++) { in amdgpu_cs_ib_fill() 1391 for (i = 0; i < parser.job->num_ibs; i++) in amdgpu_cs_ioctl()
|
D | amdgpu.h | 434 int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
|