Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sched.c49 r = amdgpu_ib_schedule(job->adev, job->num_ibs, job->ibs, job->owner); in amdgpu_sched_run_job()
55 fence = job->ibs[job->num_ibs - 1].fence; in amdgpu_sched_run_job()
74 unsigned num_ibs, in amdgpu_sched_ib_submit_kernel_helper() argument
96 job->num_ibs = num_ibs; in amdgpu_sched_ib_submit_kernel_helper()
101 r = amdgpu_ib_schedule(adev, num_ibs, ibs, owner); in amdgpu_sched_ib_submit_kernel_helper()
104 *f = fence_get(&ibs[num_ibs - 1].fence->base); in amdgpu_sched_ib_submit_kernel_helper()
Damdgpu_cs.c243 p->num_ibs++; in amdgpu_cs_parser_init()
269 p->ibs = kcalloc(p->num_ibs, sizeof(struct amdgpu_ib), GFP_KERNEL); in amdgpu_cs_parser_init()
516 for (i = 0; i < parser->num_ibs; i++) in amdgpu_cs_parser_fini()
593 if (parser->num_ibs == 0) in amdgpu_cs_ib_vm_chunk()
597 for (i = 0; i < parser->num_ibs; i++) { in amdgpu_cs_ib_vm_chunk()
631 for (i = 0, j = 0; i < parser->nchunks && j < parser->num_ibs; i++) { in amdgpu_cs_ib_fill()
702 if (!parser->num_ibs) in amdgpu_cs_ib_fill()
727 struct amdgpu_ib *ib = &parser->ibs[parser->num_ibs - 1]; in amdgpu_cs_ib_fill()
747 if (!p->num_ibs) in amdgpu_cs_dependencies()
805 for (i = 0; i < job->num_ibs; i++) in amdgpu_cs_free_job()
[all …]
Damdgpu_trace.h60 __field(u32, num_ibs)
69 __entry->num_ibs = job->num_ibs;
73 __entry->fence, __entry->ring_name, __entry->num_ibs)
85 __field(u32, num_ibs)
94 __entry->num_ibs = job->num_ibs;
98 __entry->fence, __entry->ring_name, __entry->num_ibs)
Damdgpu_ib.c123 int amdgpu_ib_schedule(struct amdgpu_device *adev, unsigned num_ibs, in amdgpu_ib_schedule() argument
133 if (num_ibs == 0) in amdgpu_ib_schedule()
149 r = amdgpu_ring_lock(ring, (256 + AMDGPU_NUM_SYNCS * 8) * num_ibs); in amdgpu_ib_schedule()
186 for (i = 0; i < num_ibs; ++i) { in amdgpu_ib_schedule()
Damdgpu.h838 unsigned num_ibs,
1212 int amdgpu_ib_schedule(struct amdgpu_device *adev, unsigned num_ibs,
1261 uint32_t num_ibs; member
1274 uint32_t num_ibs; member
Damdgpu_vm.c324 for (i = 0; i < job->num_ibs; i++) in amdgpu_vm_free_job()