Home
last modified time | relevance | path

Searched refs:zsbuf_base (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_gmem.c148 for (int i = 0; i < ARRAY_SIZE(gmem->zsbuf_base); i++) { in dump_gmem_state()
154 gmem->zsbuf_base[i], size, gmem->zsbuf_cpp[i]); in dump_gmem_state()
156 total = gmem->zsbuf_base[i] + size; in dump_gmem_state()
207 gmem->zsbuf_base[0] = util_align_npot(total, gmem_align); in layout_gmem()
208 total = gmem->zsbuf_base[0] + key->zsbuf_cpp[0] * bin_w * bin_h; in layout_gmem()
212 gmem->zsbuf_base[1] = util_align_npot(total, gmem_align); in layout_gmem()
213 total = gmem->zsbuf_base[1] + key->zsbuf_cpp[1] * bin_w * bin_h; in layout_gmem()
Dfreedreno_gmem.h54 uint32_t zsbuf_base[2]; member
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_gmem.c154 OUT_RING(ring, gmem->zsbuf_base[0]); /* RB_DEPTH_BUFFER_BASE_LO */ in emit_zs()
200 OUT_RING(ring, gmem->zsbuf_base[1]); /* RB_STENCIL_BASE_LO */ in emit_zs()
556 emit_mem2gmem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf, BLIT_ZS); in fd5_emit_tile_mem2gmem()
558 emit_mem2gmem_surf(batch, gmem->zsbuf_base[1], pfb->zsbuf, BLIT_S); in fd5_emit_tile_mem2gmem()
661 emit_gmem2mem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf, BLIT_ZS); in fd5_emit_tile_gmem2mem()
663 emit_gmem2mem_surf(batch, gmem->zsbuf_base[1], pfb->zsbuf, BLIT_S); in fd5_emit_tile_gmem2mem()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_gmem.c271 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()
487 emit_mem2gmem_surf(batch, gmem->zsbuf_base, &pfb->zsbuf, 1, bin_w); in fd4_emit_tile_mem2gmem()
707 OUT_RING(ring, A4XX_RB_DEPTH_INFO_DEPTH_BASE(gmem->zsbuf_base[0]) | in fd4_emit_tile_prep()
715 A4XX_RB_STENCIL_INFO_STENCIL_BASE(gmem->zsbuf_base[1])); in fd4_emit_tile_prep()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_gmem.c202 emit_gmem2mem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf); in prepare_tile_fini_ib()
373 emit_mem2gmem_surf(batch, gmem->zsbuf_base[0], pfb->zsbuf); in fd2_emit_tile_mem2gmem()
494 reg = A2XX_RB_DEPTH_INFO_DEPTH_BASE(gmem->zsbuf_base[0]); in fd2_emit_tile_init()
511 uint32_t color_base = 0, depth_base = gmem->zsbuf_base[0]; in fd2_emit_tile_init()
534 patch->cs[2] = A2XX_RB_DEPTH_INFO_DEPTH_BASE(gmem->zsbuf_base[0]); in fd2_emit_tile_init()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c177 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()
1041 OUT_RING(ring, gmem->zsbuf_base[0]); in emit_clears()
1067 OUT_RING(ring, gmem->zsbuf_base[1]); in emit_clears()
1104 emit_restore_blit(batch, ring, gmem->zsbuf_base[0], pfb->zsbuf, in emit_restore_blits()
1108 emit_restore_blit(batch, ring, gmem->zsbuf_base[1], pfb->zsbuf, in emit_restore_blits()
1209 gmem->zsbuf_base[0], pfb->zsbuf, in prepare_tile_fini_ib()
1214 gmem->zsbuf_base[1], pfb->zsbuf, in prepare_tile_fini_ib()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_gmem.c447 gmem->zsbuf_base[0], pfb->zsbuf); in fd3_emit_tile_gmem2mem()
450 gmem->zsbuf_base[1], pfb->zsbuf); in fd3_emit_tile_gmem2mem()
681 emit_mem2gmem_surf(batch, gmem->zsbuf_base, &pfb->zsbuf, 1, bin_w); in fd3_emit_tile_mem2gmem()
990 reg = A3XX_RB_DEPTH_INFO_DEPTH_BASE(gmem->zsbuf_base[0]); in fd3_emit_tile_renderprep()
1001 OUT_RING(ring, A3XX_RB_STENCIL_INFO_STENCIL_BASE(gmem->zsbuf_base[1])); in fd3_emit_tile_renderprep()