Home
last modified time | relevance | path

Searched refs:bin_h (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_gmem.c137 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 …]
Dfreedreno_gmem.h44 uint16_t bin_w, bin_h; member
57 uint16_t bin_h, nbins_y; member
Dtrace-parser.py84 def __init__(self, nbins_x, nbins_y, bin_w, bin_h): argument
88 self.bin_h = bin_h
222 bin_h=match.group(4))
Dgmemtool.c183 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/
Dfd4_gmem.c353 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/
Dfd2_gmem.c199 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/
Dfd3_gmem.c319 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/
Dfd5_gmem.c89 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/
Dfd6_gmem.c425 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/
Dtu_cmd_buffer.c334 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()