Lines Matching refs:nr_bos
32 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()
249 idx, submit->nr_bos); in submit_bo()
377 for (i = 0; i < submit->nr_bos; i++) { in submit_cleanup()
460 args->nr_bos > SZ_128K || args->nr_pmrs > 128) { in etnaviv_ioctl_gem_submit()
469 bos = kvmalloc_array(args->nr_bos, sizeof(*bos), GFP_KERNEL); in etnaviv_ioctl_gem_submit()
479 args->nr_bos * sizeof(*bos)); in etnaviv_ioctl_gem_submit()
516 submit = submit_create(dev, gpu, args->nr_bos, args->nr_pmrs); in etnaviv_ioctl_gem_submit()
538 ret = submit_lookup_objects(submit, file, bos, args->nr_bos); in etnaviv_ioctl_gem_submit()