Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_context.c307 uint32_t nr_bytes, uint32_t nr_relocs ) in vmw_swc_reserve() argument
327 vswc->surface.used + nr_relocs > vswc->surface.size || in vmw_swc_reserve()
328 vswc->shader.used + nr_relocs > vswc->shader.size || in vmw_swc_reserve()
329 vswc->region.used + nr_relocs > vswc->region.size) { in vmw_swc_reserve()
339 assert(vswc->surface.used + nr_relocs <= vswc->surface.size); in vmw_swc_reserve()
340 assert(vswc->shader.used + nr_relocs <= vswc->shader.size); in vmw_swc_reserve()
341 assert(vswc->region.used + nr_relocs <= vswc->region.size); in vmw_swc_reserve()
344 vswc->surface.reserved = nr_relocs; in vmw_swc_reserve()
346 vswc->shader.reserved = nr_relocs; in vmw_swc_reserve()
348 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/libdrm/freedreno/msm/
Dmsm_ringbuffer.c46 uint32_t nr_relocs, max_relocs; member
300 for (i = start; i < msm_cmd->nr_relocs; i++) { in find_next_reloc_idx()
332 target_cmd->nr_relocs = 0; in flush_reset()
349 current_cmd(ring)->nr_relocs = 0; in flush_reset()
385 for (j = 0; j < cmd->nr_relocs; j++) { in dump_submit()
429 cmd->nr_relocs = (b > a) ? b - a : 0; in msm_ringbuffer_flush()
Dmsm_drm.h175 __u32 nr_relocs; /* in, number of submit_reloc's */ member
/external/libdrm/etnaviv/
Detnaviv_cmd_stream.c114 priv->submit.nr_relocs = 0; in reset_buffer()
191 .nr_relocs = priv->submit.nr_relocs, in flush()
Detnaviv_priv.h142 uint32_t nr_relocs, max_relocs; member
Detnaviv_drm.h191 __u32 nr_relocs; /* in, number of submit_reloc's */ 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/kernel-headers/original/uapi/drm/
Dnouveau_drm.h107 __u32 nr_relocs; member
Dmsm_drm.h184 __u32 nr_relocs; /* in, number of submit_reloc's */ member
Detnaviv_drm.h191 __u32 nr_relocs; /* in, number of submit_reloc's */ member
/external/libdrm/include/drm/
Dnouveau_drm.h186 __u32 nr_relocs; member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_winsys.h257 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);
/external/libdrm/nouveau/
Dpushbuf.c332 req.nr_relocs = krec->nr_reloc; in pushbuf_submit()