Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c46 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()
Damdgpu_trace.h207 __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)
Damdgpu_ib.c118 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()
Damdgpu_cs.c81 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()
Damdgpu.h669 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
Damdgpu_ttm.c1534 r = amdgpu_ib_schedule(ring, job->num_ibs, job->ibs, in amdgpu_copy_buffer()