Home
last modified time | relevance | path

Searched refs:nr_bos (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/etnaviv/
Detnaviv_gem_submit.c32 struct etnaviv_gpu *gpu, size_t nr_bos, size_t nr_pmrs) in submit_create() argument
35 size_t sz = size_vstruct(nr_bos, sizeof(submit->bos[0]), sizeof(*submit)); in submit_create()
57 unsigned nr_bos) in submit_lookup_objects() argument
65 for (i = 0, bo = submit_bos; i < nr_bos; i++, bo++) { in submit_lookup_objects()
105 submit->nr_bos = i; in submit_lookup_objects()
127 for (i = 0; i < submit->nr_bos; i++) { in submit_lock_objects()
178 for (i = 0; i < submit->nr_bos; i++) { in submit_fence_sync()
203 for (i = 0; i < submit->nr_bos; i++) { in submit_attach_object_fences()
217 for (i = 0; i < submit->nr_bos; i++) { in submit_pin_objects()
247 if (idx >= submit->nr_bos) { in submit_bo()
[all …]
Detnaviv_dump.c145 for (i = 0; i < submit->nr_bos; i++) { in etnaviv_core_dump()
200 for (i = 0; i < submit->nr_bos; i++) { in etnaviv_core_dump()
Detnaviv_gem.h104 unsigned int nr_bos; member
/linux-6.12.1/drivers/gpu/drm/msm/
Dmsm_gem_submit.c32 struct msm_gpu_submitqueue *queue, uint32_t nr_bos, in submit_create() argument
40 sz = struct_size(submit, bos, nr_bos) + in submit_create()
68 submit->cmd = (void *)&submit->bos[nr_bos]; in submit_create()
124 for (i = 0; i < args->nr_bos; i++) { in submit_lookup_objects()
157 for (i = 0; i < args->nr_bos; i++) { in submit_lookup_objects()
179 submit->nr_bos = i; in submit_lookup_objects()
256 drm_exec_init(&submit->exec, DRM_EXEC_INTERRUPTIBLE_WAIT, submit->nr_bos); in submit_lock_objects()
259 for (unsigned i = 0; i < submit->nr_bos; i++) { in submit_lock_objects()
278 for (i = 0; i < submit->nr_bos; i++) { in submit_fence_sync()
304 for (i = 0; i < submit->nr_bos; i++) { in submit_pin_objects()
[all …]
Dmsm_gpu_trace.h12 TP_PROTO(pid_t pid, u32 ringid, u32 id, u32 nr_bos, u32 nr_cmds),
13 TP_ARGS(pid, ringid, id, nr_bos, nr_cmds),
19 __field(u32, nr_bos)
25 __entry->nr_bos = nr_bos;
30 __entry->nr_bos, __entry->nr_cmds)
Dmsm_ringbuffer.c26 for (i = 0; i < submit->nr_bos; i++) { in msm_job_run()
Dmsm_gpu.c224 struct msm_gpu_state_bo *state_bo = &state->bos[state->nr_bos]; in msm_gpu_crashstate_get_bo()
256 state->nr_bos++; in msm_gpu_crashstate_get_bo()
284 state->bos = kcalloc(submit->nr_bos, in msm_gpu_crashstate_capture()
287 for (i = 0; state->bos && i < submit->nr_bos; i++) { in msm_gpu_crashstate_capture()
Dmsm_gem.h283 unsigned int nr_bos; member
Dmsm_rd.c388 for (i = 0; i < submit->nr_bos; i++) in msm_rd_dump_submit()
Dmsm_gpu.h561 int nr_bos; member
/linux-6.12.1/drivers/gpu/drm/lima/
Dlima_gem.c313 for (i = 0; i < submit->nr_bos; i++) { in lima_gem_submit()
338 submit->nr_bos, &ctx); in lima_gem_submit()
344 bos, submit->nr_bos, vm); in lima_gem_submit()
352 for (i = 0; i < submit->nr_bos; i++) { in lima_gem_submit()
363 for (i = 0; i < submit->nr_bos; i++) { in lima_gem_submit()
370 submit->nr_bos, &ctx); in lima_gem_submit()
372 for (i = 0; i < submit->nr_bos; i++) in lima_gem_submit()
388 submit->nr_bos, &ctx); in lima_gem_submit()
390 for (i = 0; i < submit->nr_bos; i++) { in lima_gem_submit()
Dlima_drv.c115 if (args->pipe >= lima_pipe_num || args->nr_bos == 0) in lima_ioctl_gem_submit()
125 bos = kvcalloc(args->nr_bos, sizeof(*submit.bos) + sizeof(*submit.lbos), GFP_KERNEL); in lima_ioctl_gem_submit()
129 size = args->nr_bos * sizeof(*submit.bos); in lima_ioctl_gem_submit()
160 submit.nr_bos = args->nr_bos; in lima_ioctl_gem_submit()
Dlima_drv.h35 u32 nr_bos; member
/linux-6.12.1/include/uapi/drm/
Dlima_drm.h119 __u32 nr_bos; /* in, array length of bos field */ member
Detnaviv_drm.h201 __u32 nr_bos; /* in, number of submit_bo's */ member
Dmsm_drm.h289 __u32 nr_bos; /* in, number of submit_bo's */ member
/linux-6.12.1/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c740 for (i = 0; state->bos && i < state->nr_bos; i++) in adreno_gpu_state_destroy()
893 for (i = 0; i < state->nr_bos; i++) { in adreno_show()