Home
last modified time | relevance | path

Searched refs:gmem (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_gmem.c132 dump_gmem_state(const struct fd_gmem_stateobj *gmem) in dump_gmem_state() argument
136 gmem->bin_w, gmem->bin_h, gmem->nbins_x, gmem->nbins_y); in dump_gmem_state()
137 for (int i = 0; i < ARRAY_SIZE(gmem->cbuf_base); i++) { in dump_gmem_state()
138 if (!gmem->cbuf_cpp[i]) in dump_gmem_state()
141 unsigned size = gmem->cbuf_cpp[i] * gmem->bin_w * gmem->bin_h; in dump_gmem_state()
143 gmem->cbuf_base[i], size, gmem->cbuf_cpp[i]); in dump_gmem_state()
145 total = gmem->cbuf_base[i] + size; in dump_gmem_state()
148 for (int i = 0; i < ARRAY_SIZE(gmem->zsbuf_base); i++) { in dump_gmem_state()
149 if (!gmem->zsbuf_cpp[i]) in dump_gmem_state()
152 unsigned size = gmem->zsbuf_cpp[i] * gmem->bin_w * gmem->bin_h; in dump_gmem_state()
[all …]
Dlog-parser.py37 for gmem in gmem_passes:
39 i, gmem.width, gmem.height, gmem.nbinx, gmem.nbiny, gmem.num_draws,
40 gmem.lrz_clear_time, gmem.binning_time, gmem.restore_clear_time,
41 gmem.draw_time, gmem.resolve_time, gmem.elapsed_time,
42 ", ".join(gmem.formats)
44 lrz_clear_time += gmem.lrz_clear_time
45 binning_time += gmem.binning_time
46 restore_clear_time += gmem.restore_clear_time
47 draw_time += gmem.draw_time
48 resolve_time += gmem.resolve_time
[all …]
Dgmemtool.c176 struct fd_gmem_stateobj *gmem = gmem_stateobj_init(&screen, &key); in main() local
177 dump_gmem_state(gmem); in main()
179 assert((gmem->bin_w * gmem->nbins_x) >= key.width); in main()
180 assert((gmem->bin_h * gmem->nbins_y) >= key.height); in main()
181 assert(gmem->bin_w < screen.info.tile_max_w); in main()
182 assert(gmem->bin_h < screen.info.tile_max_h); in main()
184 ralloc_free(gmem); in main()
Dfreedreno_gmem.h70 void __fd_gmem_destroy(struct fd_gmem_stateobj *gmem);
73 fd_gmem_reference(struct fd_gmem_stateobj **ptr, struct fd_gmem_stateobj *gmem) in fd_gmem_reference() argument
77 if (pipe_reference(&(*ptr)->reference, &gmem->reference)) in fd_gmem_reference()
80 *ptr = gmem; in fd_gmem_reference()
Dfreedreno_batch.c67 batch->gmem = alloc_ring(batch, 0x1000, FD_RINGBUFFER_PRIMARY); in batch_init()
70 batch->gmem = alloc_ring(batch, 0x100000, FD_RINGBUFFER_PRIMARY); in batch_init()
159 fd_ringbuffer_del(batch->gmem); in batch_fini()
Dfreedreno_batch.h191 struct fd_ringbuffer *gmem; member
Dfreedreno_log.c212 struct fd_ringbuffer *ring = batch->nondraw ? batch->draw : batch->gmem; in _fd_log()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_gmem.c47 struct pipe_surface **bufs, const struct fd_gmem_stateobj *gmem) in emit_mrt() argument
63 if (gmem) { in emit_mrt()
87 if (gmem) { in emit_mrt()
88 stride = gmem->bin_w * gmem->cbuf_cpp[i]; in emit_mrt()
89 size = stride * gmem->bin_h; in emit_mrt()
90 base = gmem->cbuf_base[i]; in emit_mrt()
103 COND(gmem, 0x800) | /* XXX 0x1000 for RECTLIST clear, 0x0 for BLIT.. */ in emit_mrt()
107 if (gmem || (i >= nr_bufs) || !bufs[i]) { in emit_mrt()
134 const struct fd_gmem_stateobj *gmem) in emit_zs() argument
143 if (gmem) { in emit_zs()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_gmem.c133 const struct fd_gmem_stateobj *gmem = batch->gmem_state; in use_hw_binning() local
135 if ((gmem->maxpw * gmem->maxph) > 32) in use_hw_binning()
138 if ((gmem->maxpw > 15) || (gmem->maxph > 15)) in use_hw_binning()
141 return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) > 2); in use_hw_binning()
150 struct fd_ringbuffer *ring = batch->gmem; in emit_gmem2mem_surf()
190 const struct fd_gmem_stateobj *gmem = batch->gmem_state; in fd4_emit_tile_gmem2mem() local
191 struct fd_ringbuffer *ring = batch->gmem; in fd4_emit_tile_gmem2mem()
271 emit_gmem2mem_surf(batch, false, gmem->zsbuf_base[0], pfb->zsbuf); in fd4_emit_tile_gmem2mem()
273 emit_gmem2mem_surf(batch, true, gmem->zsbuf_base[1], pfb->zsbuf); in fd4_emit_tile_gmem2mem()
283 emit_gmem2mem_surf(batch, false, gmem->cbuf_base[i], pfb->cbufs[i]); in fd4_emit_tile_gmem2mem()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_gmem.c65 const struct fd_gmem_stateobj *gmem = batch->gmem_state; in use_hw_binning() local
72 if (gmem->num_vsc_pipes > 8 || !gmem->num_vsc_pipes) in use_hw_binning()
81 return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) > 2); in use_hw_binning()
139 const struct fd_gmem_stateobj *gmem = batch->gmem_state; in prepare_tile_fini_ib() local
192 OUT_RING(ring, fui((float) gmem->bin_w / 2.0)); /* XSCALE */ in prepare_tile_fini_ib()
193 OUT_RING(ring, fui((float) gmem->bin_w / 2.0)); /* XOFFSET */ in prepare_tile_fini_ib()
194 OUT_RING(ring, fui((float) gmem->bin_h / 2.0)); /* YSCALE */ in prepare_tile_fini_ib()
195 OUT_RING(ring, fui((float) gmem->bin_h / 2.0)); /* YOFFSET */ in prepare_tile_fini_ib()
202 emit_gmem2mem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf); in prepare_tile_fini_ib()
205 emit_gmem2mem_surf(batch, gmem->cbuf_base[0], pfb->cbufs[0]); in prepare_tile_fini_ib()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_gmem.c130 const struct fd_gmem_stateobj *gmem = batch->gmem_state; in use_hw_binning() local
146 if (gmem->minx || gmem->miny) in use_hw_binning()
149 if ((gmem->maxpw * gmem->maxph) > 32) in use_hw_binning()
152 if ((gmem->maxpw > 15) || (gmem->maxph > 15)) in use_hw_binning()
155 return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) > 2); in use_hw_binning()
164 const struct fd_gmem_stateobj *gmem = batch->gmem_state; in emit_binning_workaround() local
165 struct fd_ringbuffer *ring = batch->gmem; in emit_binning_workaround()
296 OUT_RING(ring, A3XX_VSC_BIN_SIZE_WIDTH(gmem->bin_w) | in emit_binning_workaround()
297 A3XX_VSC_BIN_SIZE_HEIGHT(gmem->bin_h)); in emit_binning_workaround()
316 struct fd_ringbuffer *ring = batch->gmem; in emit_gmem2mem_surf()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c74 const struct fd_gmem_stateobj *gmem) in emit_mrt() argument
103 uint32_t base = gmem ? gmem->cbuf_base[i] : 0; in emit_mrt()
170 const struct fd_gmem_stateobj *gmem) in emit_zs() argument
177 uint32_t base = gmem ? gmem->zsbuf_base[0] : 0; in emit_zs()
219 uint32_t base = gmem ? gmem->zsbuf_base[1] : 0; in emit_zs()
255 const struct fd_gmem_stateobj *gmem = batch->gmem_state; in use_hw_binning() local
257 if ((gmem->maxpw * gmem->maxph) > 32) in use_hw_binning()
260 return fd_binning_enabled && ((gmem->nbins_x * gmem->nbins_y) >= 2) && in use_hw_binning()
267 const struct fd_gmem_stateobj *gmem = batch->gmem_state; in patch_fb_read() local
271 *patch->cs = patch->val | A6XX_TEX_CONST_2_PITCH(gmem->bin_w * gmem->cbuf_cpp[0]); in patch_fb_read()
[all …]
/external/mesa3d/src/freedreno/decode/scripts/
Dparse-submits.lua20 function push_mrt(fmt, w, h, samples, base, flag, gmem)
30 mrt.gmem = gmem
146 if cleared[mrt.gmem] then
149 if restored[mrt.gmem] then
152 if resolved[mrt.gmem] then
/external/libdrm/freedreno/msm/
Dmsm_pipe.c61 *value = msm_pipe->gmem; in msm_pipe_get_param()
193 msm_pipe->gmem = get_param(pipe, MSM_PARAM_GMEM_SIZE); in msm_pipe_new()
202 INFO_MSG(" GMEM size: 0x%08x", msm_pipe->gmem); in msm_pipe_new()
Dmsm_priv.h57 uint32_t gmem; member
/external/mesa3d/src/freedreno/drm/
Dmsm_pipe.c81 *value = msm_pipe->gmem; in msm_pipe_get_param()
231 msm_pipe->gmem = get_param(pipe, MSM_PARAM_GMEM_SIZE); in msm_pipe_new()
243 INFO_MSG(" GMEM size: 0x%08x", msm_pipe->gmem); in msm_pipe_new()
Dmsm_priv.h53 uint32_t gmem; member
/external/mesa3d/docs/relnotes/
D9.2.4.rst59 - freedreno/a3xx: fix color inversion on mem->gmem restore
60 - freedreno/a3xx: fix viewport on gmem->mem resolve
D10.2.3.rst75 - freedreno/a3xx: fix depth/stencil gmem restore
D17.0.6.rst145 - freedreno/a3xx: fix hang w/ large render targets and small gmem
D20.3.1.rst97 - turnip: no linear_to_srgb for alpha channel for gmem clear value packing
D20.2.0.rst2720 - freedreno/a6xx: split up gmem/tile alignment requirements
2753 - turnip: use u_format for packing gmem clear values
2758 - turnip: fix renderpass gmem configs when there are too many attachments
2834 - turnip: remove extra gmem alignment
3998 - freedreno/gmem: don't assume scissor opt when estimating # of bins
4000 - freedreno/gmem: add div_align() helper
4001 - freedreno/gmem: add helper to dump GMEM layout
4003 - freedreno/gmem: relax alignment on a6xx
4004 - freedreno/gmem: rework gmem layout algo
4050 - freedreno/gmem: make noscis debug actually do something on a6xx
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.c165 .gmem = ccu_state == TU_CMD_CCU_GMEM)); in tu_emit_cache_flush_ccu()
991 bool gmem) in tu_emit_input_attachments() argument
1064 if (!gmem) in tu_emit_input_attachments()
2552 vk2tu_access(VkAccessFlags flags, bool gmem) in vk2tu_access() argument
2638 if (gmem) in vk2tu_access()
2647 if (gmem) in vk2tu_access()
2656 if (gmem) { in vk2tu_access()
2666 if (gmem) { in vk2tu_access()
2683 if (gmem) { in vk2tu_access()
3995 bool gmem = cmd->state.ccu_state == TU_CMD_CCU_GMEM && in tu_barrier() local
[all …]
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Dprefix.cl511 // If the work-in-progress node in gmem will only have room for one
657 // if the work-in-progress node in gmem will only have room for one
Dpaths_copy.cl432 // load the copied atomic read "base" from gmem

12