| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_gmem.c | 83 * meant to be the minimal set of data that results in a unique gmem 84 * configuration, avoiding multiple keys arriving at the same gmem 89 * max_scissor which would result in the same gmem state, do not 134 dump_gmem_state(const struct fd_gmem_stateobj *gmem) argument 137 printf("GMEM LAYOUT: bin=%ux%u, nbins=%ux%u\n", gmem->bin_w, gmem->bin_h, 138 gmem->nbins_x, gmem->nbins_y); 139 for (int i = 0; i < ARRAY_SIZE(gmem->cbuf_base); i++) { 140 if (!gmem 171 layout_gmem(struct gmem_key * key,uint32_t nbins_x,uint32_t nbins_y,struct fd_gmem_stateobj * gmem) argument 221 calc_nbins(struct gmem_key * key,struct fd_gmem_stateobj * gmem) argument 279 struct fd_gmem_stateobj *gmem = local in function:gmem_stateobj_init 445 __fd_gmem_destroy(struct fd_gmem_stateobj * gmem) argument 535 struct fd_gmem_stateobj *gmem = NULL; local in function:lookup_gmem_state 580 render_tiles(struct fd_batch * batch,struct fd_gmem_stateobj * gmem) argument 742 struct fd_gmem_stateobj *gmem = lookup_gmem_state(batch, false, false); local in function:fd_gmem_render_tiles 777 struct fd_gmem_stateobj *gmem = lookup_gmem_state(batch, !!pfb->zsbuf, true); local in function:fd_gmem_estimate_bins_per_pipe [all...] |
| H A D | freedreno_gmem.h | 70 void __fd_gmem_destroy(struct fd_gmem_stateobj *gmem); 73 fd_gmem_reference(struct fd_gmem_stateobj **ptr, struct fd_gmem_stateobj *gmem) argument 77 if (pipe_reference(&(*ptr)->reference, &gmem->reference)) 80 *ptr = gmem;
|
| H A D | gmemtool.c | 32 /* NOTE, non-interesting gmem keys (ie. things that are small enough to fit 179 struct fd_gmem_stateobj *gmem = gmem_stateobj_init(&screen, &key); local in function:main 180 dump_gmem_state(gmem); 182 assert((gmem->bin_w * gmem->nbins_x) >= key.width); 183 assert((gmem->bin_h * gmem->nbins_y) >= key.height); 184 assert(gmem->bin_w < screen.info->tile_max_w); 185 assert(gmem->bin_h < screen.info->tile_max_h); 187 ralloc_free(gmem); [all...] |
| H A D | freedreno_batch.c | 67 batch->gmem = alloc_ring(batch, 0x1000, FD_RINGBUFFER_PRIMARY); 70 batch->gmem = alloc_ring(batch, 0x100000, FD_RINGBUFFER_PRIMARY); 154 fd_ringbuffer_del(batch->gmem);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_gmem.c | 81 struct fd_gmem_stateobj *gmem) 87 gmem->cbuf_base[i] = align(total, gmem_align); 88 total = gmem->cbuf_base[i] + cbuf_cpp[i] * bin_w * bin_h; 93 gmem->zsbuf_base[0] = align(total, gmem_align); 94 total = gmem->zsbuf_base[0] + zsbuf_cpp[0] * bin_w * bin_h; 98 gmem->zsbuf_base[1] = align(total, gmem_align); 99 total = gmem->zsbuf_base[1] + zsbuf_cpp[1] * bin_w * bin_h; 110 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:calculate_tiles 148 if (!memcmp(gmem 79 total_size(uint8_t cbuf_cpp[],uint8_t zsbuf_cpp[2],uint32_t bin_w,uint32_t bin_h,uint32_t gmem_align,struct fd_gmem_stateobj * gmem) argument 346 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:render_tiles 456 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:fd_gmem_render_tiles [all...] |
| H A D | freedreno_batch.c | 64 batch->gmem = fd_submit_new_ringbuffer(batch->submit, size, 148 fd_ringbuffer_del(batch->gmem); 151 debug_assert(!batch->gmem);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_gmem.c | 47 struct pipe_surface **bufs, struct fd_gmem_stateobj *gmem) 63 if (gmem) { 87 if (gmem) { 88 stride = gmem->bin_w * gmem->cbuf_cpp[i]; 89 size = stride * gmem->bin_h; 90 base = gmem->cbuf_base[i]; 104 COND(gmem, 0x800) | /* XXX 0x1000 for RECTLIST clear, 0x0 for BLIT.. */ 108 if (gmem || (i >= nr_bufs) || !bufs[i]) { 135 struct fd_gmem_stateobj *gmem) 46 emit_mrt(struct fd_ringbuffer * ring,unsigned nr_bufs,struct pipe_surface ** bufs,struct fd_gmem_stateobj * gmem) argument 134 emit_zs(struct fd_ringbuffer * ring,struct pipe_surface * zsbuf,struct fd_gmem_stateobj * gmem) argument 238 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:use_hw_binning 266 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:update_vsc_pipe 310 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:emit_binning_pass 473 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:emit_mem2gmem_surf 530 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:fd5_emit_tile_mem2gmem 573 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:fd5_emit_tile_renderprep 660 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:fd5_emit_tile_gmem2mem [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_gmem.c | 47 struct pipe_surface **bufs, const struct fd_gmem_stateobj *gmem) 63 if (gmem) { 87 if (gmem) { 88 stride = gmem->bin_w * gmem->cbuf_cpp[i]; 89 size = stride * gmem->bin_h; 90 base = gmem->cbuf_base[i]; 106 COND(gmem, 111 if (gmem || (i >= nr_bufs) || !bufs[i]) { 138 const struct fd_gmem_stateobj *gmem) 46 emit_mrt(struct fd_ringbuffer * ring,unsigned nr_bufs,struct pipe_surface ** bufs,const struct fd_gmem_stateobj * gmem) argument 137 emit_zs(struct fd_ringbuffer * ring,struct pipe_surface * zsbuf,const struct fd_gmem_stateobj * gmem) argument 240 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:use_hw_binning 268 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:update_vsc_pipe 311 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:emit_binning_pass 426 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd5_emit_tile_prep 478 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:emit_mem2gmem_surf 535 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd5_emit_tile_mem2gmem 577 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd5_emit_tile_renderprep 664 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd5_emit_tile_gmem2mem [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_gmem.c | 135 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:use_hw_binning 137 if ((gmem->maxpw * gmem->maxph) > 32) 140 if ((gmem->maxpw > 15) || (gmem->maxph > 15)) 143 return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) > 2); 146 /* transfer from gmem to system memory (ie. normal RAM) */ 152 struct fd_ringbuffer *ring = batch->gmem; 193 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:fd4_emit_tile_gmem2mem 331 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:fd4_emit_tile_mem2gmem 601 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:emit_binning_pass 668 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:fd4_emit_tile_init 714 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:fd4_emit_tile_prep 762 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:fd4_emit_tile_renderprep [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_gmem.c | 147 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:use_hw_binning 149 if ((gmem->maxpw * gmem->maxph) > 32) 152 if ((gmem->maxpw > 15) || (gmem->maxph > 15)) 155 return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) > 2); 158 /* transfer from gmem to system memory (ie. normal RAM) */ 164 struct fd_ringbuffer *ring = batch->gmem; 205 const struct fd_gmem_stateobj *gmem local in function:fd4_emit_tile_gmem2mem 338 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd4_emit_tile_mem2gmem 569 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:update_vsc_pipe 606 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:emit_binning_pass 672 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd4_emit_tile_init 716 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd4_emit_tile_prep 768 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd4_emit_tile_renderprep [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/ |
| H A D | fd6_gmem.c | 53 struct fd_gmem_stateobj *gmem) 81 uint32_t base = gmem ? gmem->cbuf_base[i] : 0; 163 struct fd_gmem_stateobj *gmem) 171 uint32_t base = gmem ? gmem->zsbuf_base[0] : 0; 227 uint32_t base = gmem ? gmem->zsbuf_base[1] : 0; 266 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:use_hw_binning 52 emit_mrt(struct fd_ringbuffer * ring,struct pipe_framebuffer_state * pfb,struct fd_gmem_stateobj * gmem) argument 162 emit_zs(struct fd_ringbuffer * ring,struct pipe_surface * zsbuf,struct fd_gmem_stateobj * gmem) argument 277 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:patch_fb_read 341 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:update_vsc_pipe 412 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:emit_binning_pass 523 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:fd6_emit_tile_init 645 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:fd6_emit_tile_prep 805 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:emit_clears 969 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:emit_restore_blits 1067 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:prepare_tile_fini_ib [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/ |
| H A D | fd2_gmem.c | 65 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:use_hw_binning 70 * gmem->num_vsc_pipes == 0 means empty batch (TODO: does it still happen?) 72 if (gmem->num_vsc_pipes > 8 || !gmem->num_vsc_pipes) 81 return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) > 2); 84 /* transfer from gmem to system memory (ie. normal RAM) */ 142 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:prepare_tile_fini_ib 285 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:fd2_emit_tile_mem2gmem 486 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:fd2_emit_tile_init [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_gmem.c | 131 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:use_hw_binning 147 if (gmem->minx || gmem->miny) 150 if ((gmem->maxpw * gmem->maxph) > 32) 153 if ((gmem->maxpw > 15) || (gmem->maxph > 15)) 156 return fd_binning_enabled && ((gmem->nbins_x * gmem 165 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:emit_binning_workaround 543 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:fd3_emit_tile_mem2gmem 805 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:emit_binning_pass 934 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local in function:fd3_emit_tile_init 988 struct fd_gmem_stateobj *gmem = &ctx->gmem; local in function:fd3_emit_tile_renderprep [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/ |
| H A D | fd2_gmem.c | 66 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:use_hw_binning 71 * gmem->num_vsc_pipes == 0 means empty batch (TODO: does it still happen?) 73 if (gmem->num_vsc_pipes > 8 || !gmem->num_vsc_pipes) 82 return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) > 2); 85 /* transfer from gmem to system memory (ie. normal RAM) */ 140 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:prepare_tile_fini_ib 197 OUT_RING(ring, fui((float)gmem->bin_w / 2.0)); /* XSCALE */ 198 OUT_RING(ring, fui((float)gmem 285 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd2_emit_tile_mem2gmem 491 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd2_emit_tile_init [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/ |
| H A D | fd6_gmem.c | 76 const struct fd_gmem_stateobj *gmem) 101 uint32_t base = gmem ? gmem->cbuf_base[i] : 0; 147 const struct fd_gmem_stateobj *gmem) 154 uint32_t base = gmem ? gmem->zsbuf_base[0] : 0; 196 uint32_t base = gmem ? gmem->zsbuf_base[1] : 0; 234 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:use_hw_binning 236 if ((gmem 75 emit_mrt(struct fd_ringbuffer * ring,struct pipe_framebuffer_state * pfb,const struct fd_gmem_stateobj * gmem) argument 146 emit_zs(struct fd_ringbuffer * ring,struct pipe_surface * zsbuf,const struct fd_gmem_stateobj * gmem) argument 251 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:patch_fb_read_gmem 386 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:update_vsc_pipe 465 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:emit_vsc_overflow_test 670 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:emit_binning_pass 787 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd6_emit_tile_init 892 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd6_emit_tile_prep 932 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd6_emit_tile_prep 1032 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:emit_clears 1191 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:emit_restore_blits 1375 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:prepare_tile_fini_ib [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_gmem.c | 144 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:use_hw_binning 160 if (gmem->minx || gmem->miny) 163 if ((gmem->maxpw * gmem->maxph) > 32) 166 if ((gmem->maxpw > 15) || (gmem->maxph > 15)) 169 return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) > 2); 178 const struct fd_gmem_stateobj *gmem local in function:emit_binning_workaround 381 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd3_emit_tile_gmem2mem 564 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd3_emit_tile_mem2gmem 796 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:update_vsc_pipe 828 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:emit_binning_pass 956 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd3_emit_tile_init 1011 const struct fd_gmem_stateobj *gmem = batch->gmem_state; local in function:fd3_emit_tile_renderprep [all...] |
| /xsrc/external/mit/libdrm/dist/freedreno/msm/ |
| H A D | msm_pipe.c | 61 *value = msm_pipe->gmem; 193 msm_pipe->gmem = get_param(pipe, MSM_PARAM_GMEM_SIZE); 202 INFO_MSG(" GMEM size: 0x%08x", msm_pipe->gmem);
|
| H A D | msm_priv.h | 57 uint32_t gmem; member in struct:msm_pipe
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/ |
| H A D | nv50_program.h | 112 struct nv50_gmem_state gmem[NV50_MAX_GLOBALS]; member in struct:nv50_program::__anonbe7590440408
|
| H A D | nv50_compute.c | 380 struct nv50_gmem_state *gmem = &nv50->compprog->cp.gmem[i]; local in function:nv50_compute_validate_surfaces 386 if (gmem->valid && !gmem->image && nv50->buffers[gmem->slot].buffer) { 387 struct pipe_shader_buffer *buffer = &nv50->buffers[gmem->slot]; 405 } else if (gmem->valid && gmem->image && nv50->images[gmem->slot].resource) { 406 struct pipe_image_view *view = &nv50->images[gmem [all...] |
| /xsrc/external/mit/MesaLib/dist/docs/relnotes/ |
| H A D | 9.2.4.rst | 59 - freedreno/a3xx: fix color inversion on mem->gmem restore 60 - freedreno/a3xx: fix viewport on gmem->mem resolve
|
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/drm/ |
| H A D | msm_pipe.c | 81 *value = msm_pipe->gmem; 230 msm_pipe->gmem = get_param(pipe, MSM_PARAM_GMEM_SIZE); 242 INFO_MSG(" GMEM size: 0x%08x", msm_pipe->gmem);
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/drm/ |
| H A D | msm_pipe.c | 82 *value = msm_pipe->gmem; 242 msm_pipe->gmem = get_param(pipe, MSM_PARAM_GMEM_SIZE); 254 INFO_MSG(" GMEM size: 0x%08x", msm_pipe->gmem);
|
| H A D | msm_priv.h | 57 uint32_t gmem; member in struct:msm_pipe
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/decode/scripts/ |
| H A D | parse-submits.lua | 20 function push_mrt(fmt, w, h, samples, base, flag, gmem) 30 mrt.gmem = gmem 142 if cleared[mrt.gmem] then 145 if restored[mrt.gmem] then 148 if resolved[mrt.gmem] then
|