HomeSort by relevance Sort by last modified time
    Searched refs:gmem (Results 1 - 10 of 10) sorted by null

  /external/mesa3d/src/gallium/drivers/freedreno/
freedreno_gmem.c 43 * GMEM is the small (ie. 256KiB for a200, 512KiB for a220, etc) tile buffer
44 * inside the GPU. All rendering happens to GMEM. Larger render targets
46 * stencil, if enabled) buffers to fit within GMEM. Before rendering a tile,
48 * to restore the previous tiles contents (system mem -> GMEM), and after all
50 * contents (GMEM -> system mem).
52 * The code in this file handles dealing with GMEM and tiling.
82 uint32_t bin_w, uint32_t bin_h, struct fd_gmem_stateobj *gmem)
88 gmem->cbuf_base[i] = align(total, 0x4000);
89 total = gmem->cbuf_base[i] + cbuf_cpp[i] * bin_w * bin_h;
94 gmem->zsbuf_base[0] = align(total, 0x4000)
110 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
313 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
409 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
    [all...]
freedreno_batch.c 58 batch->gmem = fd_ringbuffer_new(ctx->screen->pipe, size);
60 fd_ringbuffer_set_parent(batch->gmem, NULL);
61 fd_ringbuffer_set_parent(batch->draw, batch->gmem);
62 fd_ringbuffer_set_parent(batch->binning, batch->gmem);
120 fd_ringbuffer_del(batch->gmem);
freedreno_batch.h 63 * ringbuffers used for binning, draw, and gmem cmds, list of associated
108 * passing GMEM.
123 * mem2gmem/gmem2mem) to avoid needlessly moving data in/out of gmem.
141 * once we know whether or not to use GMEM, and GMEM tile pitch.
154 /** tiling/gmem (IB0) cmdstream: */
155 struct fd_ringbuffer *gmem; member in struct:fd_batch
freedreno_context.h 102 * around, and because various internal operations (gmem<->mem, etc)
143 /* shaders used by clear, and gmem->mem blits: */
146 /* shaders used by mem->gmem blits: */
162 * called from GMEM code), since in those code-paths the batch
188 /* Current gmem/tiling configuration.. gets updated on render_tiles()
194 struct fd_gmem_stateobj gmem; member in struct:fd_context
254 /* GMEM/tile handling fxns: */
262 /* optional, for GMEM bypass: */
286 /* for clear/gmem->mem vertices, and mem->gmem */
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a5xx/
fd5_gmem.c 47 struct pipe_surface **bufs, struct fd_gmem_stateobj *gmem)
52 if (gmem) {
85 if (gmem) {
86 stride = gmem->bin_w * rsc->cpp;
87 size = stride * gmem->bin_h;
88 base = gmem->cbuf_base[i];
99 COND(gmem, 0x800) | /* XXX 0x1000 for RECTLIST clear, 0x0 for BLIT.. */
103 if (gmem || (i >= nr_bufs) || !bufs[i]) {
128 struct fd_gmem_stateobj *gmem)
137 if (gmem) {
291 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local
324 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
383 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local
457 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a4xx/
fd4_gmem.c 137 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local
144 return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) > 2);
147 /* transfer from gmem to system memory (ie. normal RAM) */
153 struct fd_ringbuffer *ring = batch->gmem;
191 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
192 struct fd_ringbuffer *ring = batch->gmem;
275 emit_gmem2mem_surf(batch, false, ctx->gmem.zsbuf_base[0], pfb->zsbuf)
329 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
599 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
666 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local
712 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
760 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a3xx/
fd3_gmem.c 133 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local
149 if (gmem->minx || gmem->miny)
152 return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) > 2);
161 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
162 struct fd_ringbuffer *ring = batch->gmem;
296 OUT_RING(ring, A3XX_VSC_BIN_SIZE_WIDTH(gmem->bin_w)
534 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
796 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
925 struct fd_gmem_stateobj *gmem = &batch->ctx->gmem; local
979 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
    [all...]
  /external/libdrm/freedreno/msm/
msm_pipe.c 65 *value = msm_pipe->gmem;
149 msm_pipe->gmem = get_param(pipe, MSM_PARAM_GMEM_SIZE);
158 INFO_MSG(" GMEM size: 0x%08x", msm_pipe->gmem);
msm_priv.h 57 uint32_t gmem; member in struct:msm_pipe
  /external/mesa3d/src/gallium/drivers/freedreno/a2xx/
fd2_gmem.c 56 /* transfer from gmem to system memory (ie. normal RAM) */
62 struct fd_ringbuffer *ring = batch->gmem;
102 struct fd_ringbuffer *ring = batch->gmem;
174 /* transfer from system memory to gmem */
180 struct fd_ringbuffer *ring = batch->gmem;
225 struct fd_ringbuffer *ring = batch->gmem;
336 struct fd_ringbuffer *ring = batch->gmem;
338 struct fd_gmem_stateobj *gmem = &ctx->gmem; local
346 OUT_RING(ring, gmem->bin_w); /* RB_SURFACE_INFO *
    [all...]

Completed in 286 milliseconds