/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_gmem.c | 137 printf("GMEM LAYOUT: bin=%ux%u, nbins=%ux%u\n", gmem->bin_w, gmem->bin_h, in dump_gmem_state() 143 unsigned size = gmem->cbuf_cpp[i] * gmem->bin_w * gmem->bin_h; in dump_gmem_state() 154 unsigned size = gmem->zsbuf_cpp[i] * gmem->bin_w * gmem->bin_h; in dump_gmem_state() 181 uint32_t bin_w, bin_h; in layout_gmem() local 183 bin_h = div_align(key->height, nbins_y, screen->info->tile_align_h); in layout_gmem() 188 if (bin_h > screen->info->tile_max_h) in layout_gmem() 192 gmem->bin_h = bin_h; in layout_gmem() 198 gmem->nbins_y = DIV_ROUND_UP(key->height, bin_h); in layout_gmem() 203 total = gmem->cbuf_base[i] + key->cbuf_cpp[i] * bin_w * bin_h; in layout_gmem() 209 total = gmem->zsbuf_base[0] + key->zsbuf_cpp[0] * bin_w * bin_h; in layout_gmem() [all …]
|
D | freedreno_gmem.h | 44 uint16_t bin_w, bin_h; member 57 uint16_t bin_h, nbins_y; member
|
D | trace-parser.py | 84 def __init__(self, nbins_x, nbins_y, bin_w, bin_h): argument 88 self.bin_h = bin_h 222 bin_h=match.group(4))
|
D | gmemtool.c | 183 assert((gmem->bin_h * gmem->nbins_y) >= key.height); in main() 185 assert(gmem->bin_h < screen.info->tile_max_h); in main()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_gmem.c | 353 unsigned bin_h = tile->bin_h; in fd4_emit_tile_mem2gmem() local 360 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height); in fd4_emit_tile_mem2gmem() 413 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YOFFSET_0((float)bin_h / 2.0)); in fd4_emit_tile_mem2gmem() 414 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YSCALE_0(-(float)bin_h / 2.0)); in fd4_emit_tile_mem2gmem() 420 A4XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(bin_h - 1)); in fd4_emit_tile_mem2gmem() 428 A4XX_GRAS_SC_SCREEN_SCISSOR_BR_Y(bin_h - 1)); in fd4_emit_tile_mem2gmem() 432 A4XX_RB_MODE_CONTROL_HEIGHT(gmem->bin_h)); in fd4_emit_tile_mem2gmem() 465 bin_h = gmem->bin_h; in fd4_emit_tile_mem2gmem() 515 A4XX_RB_MODE_CONTROL_HEIGHT(gmem->bin_h) | in fd4_emit_tile_mem2gmem() 678 A4XX_VSC_BIN_SIZE_HEIGHT(gmem->bin_h)); in fd4_emit_tile_init() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_gmem.c | 199 OUT_RING(ring, fui((float)gmem->bin_h / 2.0)); /* YSCALE */ in prepare_tile_fini_ib() 200 OUT_RING(ring, fui((float)gmem->bin_h / 2.0)); /* YOFFSET */ in prepare_tile_fini_ib() 289 unsigned bin_h = tile->bin_h; in fd2_emit_tile_mem2gmem() local 304 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height); in fd2_emit_tile_mem2gmem() 358 OUT_RING(ring, xy2d(bin_w, bin_h)); /* PA_SC_WINDOW_SCISSOR_BR */ in fd2_emit_tile_mem2gmem() 364 OUT_RING(ring, fui(-(float)bin_h / 2.0)); /* PA_CL_VPORT_YSCALE */ in fd2_emit_tile_mem2gmem() 365 OUT_RING(ring, fui((float)bin_h / 2.0)); /* PA_CL_VPORT_YOFFSET */ in fd2_emit_tile_mem2gmem() 527 size = align(gmem->bin_w * gmem->bin_h * color_size, 0x8000); in fd2_emit_tile_init() 532 size = align(gmem->bin_w * gmem->bin_h * depth_size, 0x8000); in fd2_emit_tile_init() 539 align(gmem->bin_w * gmem->bin_h * color_size * 2, 0x8000) / 1024; in fd2_emit_tile_init() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_gmem.c | 319 A3XX_VSC_BIN_SIZE_HEIGHT(gmem->bin_h)); in emit_binning_workaround() 577 unsigned bin_h = tile->bin_h; in fd3_emit_tile_mem2gmem() local 584 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height); in fd3_emit_tile_mem2gmem() 632 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YOFFSET((float)bin_h / 2.0 - 0.5)); in fd3_emit_tile_mem2gmem() 633 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YSCALE(-(float)bin_h / 2.0)); in fd3_emit_tile_mem2gmem() 641 A3XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(bin_h - 1)); in fd3_emit_tile_mem2gmem() 647 A3XX_GRAS_SC_SCREEN_SCISSOR_BR_Y(bin_h - 1)); in fd3_emit_tile_mem2gmem() 687 bin_h = gmem->bin_h; in fd3_emit_tile_mem2gmem() 966 A3XX_VSC_BIN_SIZE_HEIGHT(gmem->bin_h)); in fd3_emit_tile_init() 1017 uint32_t y2 = tile->yoff + tile->bin_h - 1; in fd3_emit_tile_renderprep()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_gmem.c | 89 size = stride * gmem->bin_h; in emit_mrt() 149 size = stride * gmem->bin_h; in emit_zs() 195 size = stride * gmem->bin_h; in emit_zs() 274 A5XX_VSC_BIN_SIZE_HEIGHT(gmem->bin_h)); in update_vsc_pipe() 322 A5XX_RB_CNTL_WIDTH(gmem->bin_w) | A5XX_RB_CNTL_HEIGHT(gmem->bin_h)); in emit_binning_pass() 433 uint32_t y2 = tile->yoff + tile->bin_h - 1; in fd5_emit_tile_prep() 510 size = stride * gmem->bin_h; in emit_mem2gmem_surf() 547 A5XX_RB_CNTL_HEIGHT(gmem->bin_h) | A5XX_RB_CNTL_BYPASS); in fd5_emit_tile_mem2gmem() 582 A5XX_RB_CNTL_WIDTH(gmem->bin_w) | A5XX_RB_CNTL_HEIGHT(gmem->bin_h)); in fd5_emit_tile_renderprep()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_gmem.c | 425 ring, A6XX_VSC_BIN_SIZE(.width = gmem->bin_w, .height = gmem->bin_h), in update_vsc_pipe() 827 set_bin_size(ring, gmem->bin_w, gmem->bin_h, in fd6_emit_tile_init() 843 set_bin_size(ring, gmem->bin_w, gmem->bin_h, in fd6_emit_tile_init() 862 set_bin_size(ring, gmem->bin_w, gmem->bin_h, 0x6000000); in fd6_emit_tile_init() 904 uint32_t y2 = tile->yoff + tile->bin_h - 1; in fd6_emit_tile_prep() 933 set_bin_size(ring, gmem->bin_w, gmem->bin_h, 0x6000000); in fd6_emit_tile_prep()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_cmd_buffer.c | 334 uint32_t bin_w, uint32_t bin_h, uint32_t flags) in tu6_emit_bin_size() argument 338 .binh = bin_h, in tu6_emit_bin_size() 343 .binh = bin_h, in tu6_emit_bin_size() 349 .binh = bin_h)); in tu6_emit_bin_size()
|