Home
last modified time | relevance | path

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

12

/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c372 current_cmd(ring)->nr_relocs = 0; in flush_reset()
408 for (j = 0; j < cmd->nr_relocs; j++) { in dump_submit()
419 struct drm_msm_gem_submit_reloc *orig_relocs, unsigned nr_relocs) in handle_stateobj_relocs() argument
422 struct drm_msm_gem_submit_reloc *relocs = malloc(nr_relocs * sizeof(*relocs)); in handle_stateobj_relocs()
425 for (i = 0; i < nr_relocs; i++) { in handle_stateobj_relocs()
490 unsigned nr_relocs = msm_cmd->nr_relocs; in msm_ringbuffer_flush() local
500 relocs, nr_relocs); in msm_ringbuffer_flush()
505 cmd->nr_relocs = nr_relocs; in msm_ringbuffer_flush()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_context.c308 uint32_t nr_bytes, uint32_t nr_relocs ) in vmw_swc_reserve() argument
328 vswc->surface.used + nr_relocs > vswc->surface.size || in vmw_swc_reserve()
329 vswc->shader.used + nr_relocs > vswc->shader.size || in vmw_swc_reserve()
330 vswc->region.used + nr_relocs > vswc->region.size) { in vmw_swc_reserve()
340 assert(vswc->surface.used + nr_relocs <= vswc->surface.size); in vmw_swc_reserve()
341 assert(vswc->shader.used + nr_relocs <= vswc->shader.size); in vmw_swc_reserve()
342 assert(vswc->region.used + nr_relocs <= vswc->region.size); in vmw_swc_reserve()
345 vswc->surface.reserved = nr_relocs; in vmw_swc_reserve()
347 vswc->shader.reserved = nr_relocs; in vmw_swc_reserve()
349 vswc->region.reserved = nr_relocs; in vmw_swc_reserve()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c745 uint32_t nr_attributes, nr_relocs, packet_size; in validate_gl_shader_rec() local
753 nr_relocs = ARRAY_SIZE(shader_reloc_offsets) + nr_attributes; in validate_gl_shader_rec()
754 if (nr_relocs * 4 > exec->shader_rec_size) { in validate_gl_shader_rec()
757 nr_relocs, exec->shader_rec_size); in validate_gl_shader_rec()
761 exec->shader_rec_u += nr_relocs * 4; in validate_gl_shader_rec()
762 exec->shader_rec_size -= nr_relocs * 4; in validate_gl_shader_rec()
779 BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); in validate_gl_shader_rec()
793 for (i = shader_reloc_count; i < nr_relocs; i++) { in validate_gl_shader_rec()
/external/mesa3d/src/freedreno/drm/
Dmsm_ringbuffer.c87 cmd->nr_relocs = cmd->max_relocs = 0; in cmd_new()
266 relocs = malloc(cmd->nr_relocs * sizeof(*relocs)); in handle_stateobj_relocs()
268 for (unsigned i = 0; i < cmd->nr_relocs; i++) { in handle_stateobj_relocs()
335 cmds[i].nr_relocs = msm_ring->cmd->nr_relocs; in msm_submit_flush()
351 cmds[i].nr_relocs = msm_ring->u.cmds[j]->nr_relocs; in msm_submit_flush()
Dmsm_priv.h99 for (unsigned j = 0; j < cmd->nr_relocs; j++) { in msm_dump_submit()
Dmsm_ringbuffer_sp.c250 cmds[i].nr_relocs = 0; in msm_submit_sp_flush()
/external/libdrm/etnaviv/
Detnaviv_cmd_stream.c115 priv->submit.nr_relocs = 0; in reset_buffer()
190 .nr_relocs = priv->submit.nr_relocs, in flush()
Detnaviv_priv.h142 uint32_t nr_relocs, max_relocs; member
/external/mesa3d/src/etnaviv/drm/
Detnaviv_cmd_stream.c221 .nr_relocs = priv->submit.nr_relocs, in etna_cmd_stream_flush()
264 priv->submit.nr_relocs = 0; in etna_cmd_stream_flush()
Detnaviv_priv.h149 uint32_t nr_relocs, max_relocs; member
/external/libdrm/intel/
Dintel_bufmgr_fake.c210 int nr_relocs; member
931 for (i = 0; i < bo_fake->nr_relocs; i++) in drm_intel_fake_bo_unreference_locked()
1271 r = &bo_fake->relocs[bo_fake->nr_relocs++]; in drm_intel_fake_emit_reloc()
1273 assert(bo_fake->nr_relocs <= MAX_RELOCS); in drm_intel_fake_emit_reloc()
1293 for (i = 0; i < bo_fake->nr_relocs - 1; i++) { in drm_intel_fake_emit_reloc()
1315 for (i = 0; i < bo_fake->nr_relocs; i++) { in drm_intel_fake_calculate_domains()
1338 for (i = 0; i < bo_fake->nr_relocs; i++) { in drm_intel_fake_reloc_and_validate_buffer()
1392 for (i = 0; i < bo_fake->nr_relocs; i++) { in drm_intel_bo_fake_post_submit()
/external/igt-gpu-tools/include/drm-uapi/
Dnouveau_drm.h107 __u32 nr_relocs; member
Dmsm_drm.h174 __u32 nr_relocs; /* in, number of submit_reloc's */ member
Detnaviv_drm.h191 __u32 nr_relocs; /* in, number of submit_reloc's */ member
/external/kernel-headers/original/uapi/drm/
Dnouveau_drm.h107 __u32 nr_relocs; member
Detnaviv_drm.h202 __u32 nr_relocs; /* in, number of submit_reloc's */ member
Dmsm_drm.h207 __u32 nr_relocs; /* in, number of submit_reloc's */ member
/external/libdrm/include/drm/
Dnouveau_drm.h168 __u32 nr_relocs; member
Dmsm_drm.h174 __u32 nr_relocs; /* in, number of submit_reloc's */ member
/external/mesa3d/include/drm-uapi/
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
/external/virglrenderer/src/drm/drm-uapi/
Dmsm_drm.h206 __u32 nr_relocs; /* in, number of submit_reloc's */ member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_winsys.h267 uint32_t nr_bytes, uint32_t nr_relocs );
Dsvga_cmd.c111 uint32 nr_relocs) // IN in SVGA3D_FIFOReserve() argument
115 header = swc->reserve(swc, sizeof *header + cmdSize, nr_relocs); in SVGA3D_FIFOReserve()
Dsvga_cmd.h59 SVGA3D_FIFOReserve(struct svga_winsys_context *swc, uint32 cmd, uint32 cmdSize, uint32 nr_relocs);

12