Searched refs:num_ibs (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_job.c | 46 int amdgpu_job_alloc(struct amdgpu_device *adev, unsigned num_ibs, in amdgpu_job_alloc() argument 51 if (num_ibs == 0) in amdgpu_job_alloc() 54 size += sizeof(struct amdgpu_ib) * num_ibs; in amdgpu_job_alloc() 63 (*job)->num_ibs = num_ibs; in amdgpu_job_alloc() 98 for (i = 0; i < job->num_ibs; ++i) in amdgpu_job_free_resources() 199 r = amdgpu_ib_schedule(job->ring, job->num_ibs, job->ibs, job, &fence); in amdgpu_job_run()
|
D | amdgpu_trace.h | 207 __field(u32, num_ibs) 216 __entry->num_ibs = job->num_ibs; 220 __entry->seqno, __entry->ring_name, __entry->num_ibs) 232 __field(u32, num_ibs) 241 __entry->num_ibs = job->num_ibs; 245 __entry->seqno, __entry->ring_name, __entry->num_ibs)
|
D | amdgpu_ib.c | 118 int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs, in amdgpu_ib_schedule() argument 135 if (num_ibs == 0) in amdgpu_ib_schedule() 157 alloc_size = ring->funcs->emit_frame_size + num_ibs * in amdgpu_ib_schedule() 204 for (i = 0; i < num_ibs; ++i) { in amdgpu_ib_schedule()
|
D | amdgpu_cs.c | 81 unsigned size, num_ibs = 0; in amdgpu_cs_parser_init() local 147 ++num_ibs; in amdgpu_cs_parser_init() 175 ret = amdgpu_job_alloc(p->adev, num_ibs, &p->job, vm); in amdgpu_cs_parser_init() 866 for (i = 0; i < p->job->num_ibs; i++) { in amdgpu_cs_ib_vm_chunk() 892 for (i = 0, j = 0; i < parser->nchunks && j < parser->job->num_ibs; i++) { in amdgpu_cs_ib_fill() 1216 for (i = 0; i < parser.job->num_ibs; i++) in amdgpu_cs_ioctl()
|
D | amdgpu.h | 669 int amdgpu_job_alloc(struct amdgpu_device *adev, unsigned num_ibs, 1028 int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs, 1090 uint32_t num_ibs; member
|
D | amdgpu_ttm.c | 1534 r = amdgpu_ib_schedule(ring, job->num_ibs, job->ibs, in amdgpu_copy_buffer()
|