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.c58 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()
Damdgpu_trace.h174 __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)
Damdgpu_job.h51 uint32_t num_ibs; member
68 int amdgpu_job_alloc(struct amdgpu_device *adev, unsigned num_ibs,
Damdgpu_ib.c122 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()
Damdgpu_cs.c111 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()
Damdgpu.h434 int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,