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.c271 uint32_t nr_bytes, uint32_t nr_relocs ) in vmw_swc_reserve() argument
291 vswc->surface.used + nr_relocs > vswc->surface.size || in vmw_swc_reserve()
292 vswc->shader.used + nr_relocs > vswc->shader.size || in vmw_swc_reserve()
293 vswc->region.used + nr_relocs > vswc->region.size) { in vmw_swc_reserve()
303 assert(vswc->surface.used + nr_relocs <= vswc->surface.size); in vmw_swc_reserve()
304 assert(vswc->shader.used + nr_relocs <= vswc->shader.size); in vmw_swc_reserve()
305 assert(vswc->region.used + nr_relocs <= vswc->region.size); in vmw_swc_reserve()
308 vswc->surface.reserved = nr_relocs; in vmw_swc_reserve()
310 vswc->shader.reserved = nr_relocs; in vmw_swc_reserve()
312 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.c50 uint32_t nr_relocs, max_relocs; member
304 for (i = start; i < msm_cmd->nr_relocs; i++) { in find_next_reloc_idx()
336 target_cmd->nr_relocs = 0; in flush_reset()
353 current_cmd(ring)->nr_relocs = 0; in flush_reset()
389 for (j = 0; j < cmd->nr_relocs; j++) { in dump_submit()
432 cmd->nr_relocs = (b > a) ? b - a : 0; in msm_ringbuffer_flush()
Dmsm_drm.h169 __u32 nr_relocs; /* in, number of submit_reloc's */ member
/external/libdrm/etnaviv/
Detnaviv_cmd_stream.c117 priv->submit.nr_relocs = 0; in reset_buffer()
192 .nr_relocs = priv->submit.nr_relocs, in flush()
Detnaviv_priv.h160 uint32_t nr_relocs, max_relocs; member
Detnaviv_drm.h165 __u32 nr_relocs; /* in, number of submit_reloc's */ member
/external/libdrm/intel/
Dintel_bufmgr_fake.c214 int nr_relocs; member
935 for (i = 0; i < bo_fake->nr_relocs; i++) in drm_intel_fake_bo_unreference_locked()
1275 r = &bo_fake->relocs[bo_fake->nr_relocs++]; in drm_intel_fake_emit_reloc()
1277 assert(bo_fake->nr_relocs <= MAX_RELOCS); in drm_intel_fake_emit_reloc()
1297 for (i = 0; i < bo_fake->nr_relocs - 1; i++) { in drm_intel_fake_emit_reloc()
1319 for (i = 0; i < bo_fake->nr_relocs; i++) { in drm_intel_fake_calculate_domains()
1342 for (i = 0; i < bo_fake->nr_relocs; i++) { in drm_intel_fake_reloc_and_validate_buffer()
1396 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
Detnaviv_drm.h165 __u32 nr_relocs; /* in, number of submit_reloc's */ member
Dmsm_drm.h168 __u32 nr_relocs; /* in, number of submit_reloc's */ member
/external/libdrm/include/drm/
Dnouveau_drm.h179 uint32_t nr_relocs; member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_winsys.h243 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.c336 req.nr_relocs = krec->nr_reloc; in pushbuf_submit()