Home
last modified time | relevance | path

Searched refs:nr_relocs (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/
Detnaviv_gem_submit.c272 u32 nr_relocs) in submit_reloc() argument
279 if ((submit->flags & ETNA_SUBMIT_SOFTPIN) && nr_relocs != 0) in submit_reloc()
282 for (i = 0; i < nr_relocs; i++) { in submit_reloc()
472 if (args->stream_size > SZ_128K || args->nr_relocs > SZ_128K || in etnaviv_ioctl_gem_submit()
483 relocs = kvmalloc_array(args->nr_relocs, sizeof(*relocs), GFP_KERNEL); in etnaviv_ioctl_gem_submit()
499 args->nr_relocs * sizeof(*relocs)); in etnaviv_ioctl_gem_submit()
551 relocs, args->nr_relocs)) { in etnaviv_ioctl_gem_submit()
569 relocs, args->nr_relocs); in etnaviv_ioctl_gem_submit()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_validate.c757 uint32_t nr_attributes, nr_relocs, packet_size; in validate_gl_shader_rec() local
765 nr_relocs = ARRAY_SIZE(shader_reloc_offsets) + nr_attributes; in validate_gl_shader_rec()
766 if (nr_relocs * 4 > exec->shader_rec_size) { in validate_gl_shader_rec()
769 nr_relocs, exec->shader_rec_size); in validate_gl_shader_rec()
773 exec->shader_rec_u += nr_relocs * 4; in validate_gl_shader_rec()
774 exec->shader_rec_size -= nr_relocs * 4; in validate_gl_shader_rec()
791 BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); in validate_gl_shader_rec()
805 for (i = shader_reloc_count; i < nr_relocs; i++) { in validate_gl_shader_rec()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
Dnouveau_drm.h76 __u32 nr_relocs; member
Dmsm_drm.h86 __u32 nr_relocs; member
Detnaviv_drm.h113 __u32 nr_relocs; member
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem_submit.c304 uint32_t offset, uint32_t nr_relocs, uint64_t relocs) in submit_reloc() argument
310 if (!nr_relocs) in submit_reloc()
329 for (i = 0; i < nr_relocs; i++) { in submit_reloc()
765 submit_cmd.nr_relocs, submit_cmd.relocs); in msm_ioctl_gem_submit()
/kernel/linux/linux-5.10/include/uapi/drm/
Dnouveau_drm.h107 __u32 nr_relocs; member
Detnaviv_drm.h199 __u32 nr_relocs; /* in, number of submit_reloc's */ member
Dmsm_drm.h186 __u32 nr_relocs; /* in, number of submit_reloc's */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
Dnouveau_drm.h89 __u32 nr_relocs; member
Detnaviv_drm.h126 __u32 nr_relocs; member
Dmsm_drm.h101 __u32 nr_relocs; member
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_gem.c601 for (i = 0; i < req->nr_relocs; i++) { in nouveau_gem_pushbuf_reloc_apply()
720 if (unlikely(req->nr_relocs > NOUVEAU_GEM_MAX_RELOCS)) { in nouveau_gem_ioctl_pushbuf()
722 req->nr_relocs, NOUVEAU_GEM_MAX_RELOCS); in nouveau_gem_ioctl_pushbuf()
759 reloc = u_memcpya(req->relocs, req->nr_relocs, sizeof(*reloc)); in nouveau_gem_ioctl_pushbuf()