Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/lima/
Dlima_gem.c151 static int lima_gem_lock_bos(struct lima_bo **bos, u32 nr_bos, in lima_gem_lock_bos() argument
159 for (i = 0; i < nr_bos; i++) { in lima_gem_lock_bos()
196 static void lima_gem_unlock_bos(struct lima_bo **bos, u32 nr_bos, in lima_gem_unlock_bos() argument
201 for (i = 0; i < nr_bos; i++) in lima_gem_unlock_bos()
247 for (i = 0; i < submit->nr_bos; i++) { in lima_gem_submit()
271 err = lima_gem_lock_bos(bos, submit->nr_bos, &ctx); in lima_gem_submit()
277 bos, submit->nr_bos, vm); in lima_gem_submit()
285 for (i = 0; i < submit->nr_bos; i++) { in lima_gem_submit()
297 for (i = 0; i < submit->nr_bos; i++) { in lima_gem_submit()
304 lima_gem_unlock_bos(bos, submit->nr_bos, &ctx); in lima_gem_submit()
[all …]
Dlima_drv.c101 if (args->pipe >= lima_pipe_num || args->nr_bos == 0) in lima_ioctl_gem_submit()
111 bos = kvcalloc(args->nr_bos, sizeof(*submit.bos) + sizeof(*submit.lbos), GFP_KERNEL); in lima_ioctl_gem_submit()
115 size = args->nr_bos * sizeof(*submit.bos); in lima_ioctl_gem_submit()
146 submit.nr_bos = args->nr_bos; in lima_ioctl_gem_submit()
Dlima_drv.h31 u32 nr_bos; member
/Linux-v5.4/drivers/gpu/drm/msm/
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_gem_submit.c29 struct msm_gpu_submitqueue *queue, uint32_t nr_bos, in submit_create() argument
33 uint64_t sz = struct_size(submit, bos, nr_bos) + in submit_create()
47 submit->cmd = (void *)&submit->bos[nr_bos]; in submit_create()
52 submit->nr_bos = 0; in submit_create()
78 for (i = 0; i < args->nr_bos; i++) { in submit_lookup_objects()
113 for (i = 0; i < args->nr_bos; i++) { in submit_lookup_objects()
147 submit->nr_bos = i; in submit_lookup_objects()
175 for (i = 0; i < submit->nr_bos; i++) { in submit_lock_objects()
222 for (i = 0; i < submit->nr_bos; i++) { in submit_fence_sync()
256 for (i = 0; i < submit->nr_bos; i++) { in submit_pin_objects()
[all …]
Dmsm_gem.h145 unsigned int nr_bos; member
Dmsm_gpu.c307 struct msm_gpu_state_bo *state_bo = &state->bos[state->nr_bos]; in msm_gpu_crashstate_get_bo()
332 state->nr_bos++; in msm_gpu_crashstate_get_bo()
673 for (i = 0; i < submit->nr_bos; i++) { in retire_submit()
750 for (i = 0; i < submit->nr_bos; i++) { in msm_gpu_submit()
Dmsm_gpu.h210 int nr_bos; member
Dmsm_rd.c383 for (i = 0; i < submit->nr_bos; i++) in msm_rd_dump_submit()
/Linux-v5.4/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()
180 for (i = 0; i < submit->nr_bos; i++) { in submit_fence_sync()
212 for (i = 0; i < submit->nr_bos; i++) { in submit_attach_object_fences()
230 for (i = 0; i < submit->nr_bos; i++) { in submit_pin_objects()
258 if (idx >= submit->nr_bos) { in submit_bo()
[all …]
Detnaviv_dump.c140 for (i = 0; i < submit->nr_bos; i++) { in etnaviv_core_dump()
196 for (i = 0; i < submit->nr_bos; i++) { in etnaviv_core_dump()
Detnaviv_gem.h107 unsigned int nr_bos; member
Detnaviv_sched.c38 for (i = 0; i < submit->nr_bos; i++) { in etnaviv_sched_dependency()
/Linux-v5.4/include/uapi/drm/
Dlima_drm.h112 __u32 nr_bos; /* in, array length of bos field */ member
Dmsm_drm.h234 __u32 nr_bos; /* in, number of submit_bo's */ member
Detnaviv_drm.h198 __u32 nr_bos; /* in, number of submit_bo's */ member
/Linux-v5.4/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c595 for (i = 0; state->bos && i < state->nr_bos; i++) in adreno_gpu_state_destroy()
729 for (i = 0; i < state->nr_bos; i++) { in adreno_show()