Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_gmem.c136 gmem->bin_w, gmem->bin_h, gmem->nbins_x, gmem->nbins_y); in dump_gmem_state()
141 unsigned size = gmem->cbuf_cpp[i] * gmem->bin_w * gmem->bin_h; in dump_gmem_state()
152 unsigned size = gmem->zsbuf_cpp[i] * gmem->bin_w * gmem->bin_h; in dump_gmem_state()
180 uint32_t bin_w, bin_h; in layout_gmem() local
182 bin_h = div_align(key->height, nbins_y, screen->info.tile_align_h); in layout_gmem()
187 if (bin_h > screen->info.tile_max_h) in layout_gmem()
191 gmem->bin_h = bin_h; in layout_gmem()
197 gmem->nbins_y = DIV_ROUND_UP(key->height, bin_h); in layout_gmem()
202 total = gmem->cbuf_base[i] + key->cbuf_cpp[i] * bin_w * bin_h; in layout_gmem()
208 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
Dgmemtool.c180 assert((gmem->bin_h * gmem->nbins_y) >= key.height); in main()
182 assert(gmem->bin_h < screen.info.tile_max_h); in main()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_gmem.c339 unsigned bin_h = tile->bin_h; in fd4_emit_tile_mem2gmem() local
346 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height); in fd4_emit_tile_mem2gmem()
397 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YOFFSET_0((float)bin_h/2.0)); in fd4_emit_tile_mem2gmem()
398 OUT_RING(ring, A4XX_GRAS_CL_VPORT_YSCALE_0(-(float)bin_h/2.0)); in fd4_emit_tile_mem2gmem()
404 A4XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(bin_h - 1)); in fd4_emit_tile_mem2gmem()
412 A4XX_GRAS_SC_SCREEN_SCISSOR_BR_Y(bin_h - 1)); in fd4_emit_tile_mem2gmem()
416 A4XX_RB_MODE_CONTROL_HEIGHT(gmem->bin_h)); in fd4_emit_tile_mem2gmem()
449 bin_h = gmem->bin_h; in fd4_emit_tile_mem2gmem()
497 A4XX_RB_MODE_CONTROL_HEIGHT(gmem->bin_h) | in fd4_emit_tile_mem2gmem()
661 A4XX_VSC_BIN_SIZE_HEIGHT(gmem->bin_h)); in fd4_emit_tile_init()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_gmem.c194 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()
284 unsigned bin_h = tile->bin_h; in fd2_emit_tile_mem2gmem() local
296 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height); in fd2_emit_tile_mem2gmem()
350 OUT_RING(ring, xy2d(bin_w, bin_h)); /* PA_SC_WINDOW_SCISSOR_BR */ in fd2_emit_tile_mem2gmem()
356 OUT_RING(ring, fui(-(float)bin_h/2.0)); /* PA_CL_VPORT_YSCALE */ in fd2_emit_tile_mem2gmem()
357 OUT_RING(ring, fui((float)bin_h/2.0)); /* PA_CL_VPORT_YOFFSET */ in fd2_emit_tile_mem2gmem()
517 size = align(gmem->bin_w * gmem->bin_h * color_size, 0x8000); in fd2_emit_tile_init()
522 size = align(gmem->bin_w * gmem->bin_h * depth_size, 0x8000); in fd2_emit_tile_init()
528 lines = align(gmem->bin_w * gmem->bin_h * color_size * 2, 0x8000) / 1024; in fd2_emit_tile_init()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_gmem.c297 A3XX_VSC_BIN_SIZE_HEIGHT(gmem->bin_h)); in emit_binning_workaround()
549 unsigned bin_h = tile->bin_h; in fd3_emit_tile_mem2gmem() local
556 y1 = ((float)tile->yoff + bin_h) / ((float)pfb->height); in fd3_emit_tile_mem2gmem()
601 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YOFFSET((float)bin_h/2.0 - 0.5)); in fd3_emit_tile_mem2gmem()
602 OUT_RING(ring, A3XX_GRAS_CL_VPORT_YSCALE(-(float)bin_h/2.0)); in fd3_emit_tile_mem2gmem()
610 A3XX_GRAS_SC_WINDOW_SCISSOR_BR_Y(bin_h - 1)); in fd3_emit_tile_mem2gmem()
616 A3XX_GRAS_SC_SCREEN_SCISSOR_BR_Y(bin_h - 1)); in fd3_emit_tile_mem2gmem()
656 bin_h = gmem->bin_h; in fd3_emit_tile_mem2gmem()
935 A3XX_VSC_BIN_SIZE_HEIGHT(gmem->bin_h)); in fd3_emit_tile_init()
985 uint32_t y2 = tile->yoff + tile->bin_h - 1; in fd3_emit_tile_renderprep()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_gmem.c89 size = stride * gmem->bin_h; in emit_mrt()
145 size = stride * gmem->bin_h; in emit_zs()
191 size = stride * gmem->bin_h; in emit_zs()
269 A5XX_VSC_BIN_SIZE_HEIGHT(gmem->bin_h)); in update_vsc_pipe()
316 A5XX_RB_CNTL_HEIGHT(gmem->bin_h)); in emit_binning_pass()
420 uint32_t y2 = tile->yoff + tile->bin_h - 1; in fd5_emit_tile_prep()
500 size = stride * gmem->bin_h; in emit_mem2gmem_surf()
537 A5XX_RB_CNTL_HEIGHT(gmem->bin_h) | in fd5_emit_tile_mem2gmem()
573 A5XX_RB_CNTL_HEIGHT(gmem->bin_h)); in fd5_emit_tile_renderprep()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c363 A6XX_VSC_BIN_SIZE(.width = gmem->bin_w, .height = gmem->bin_h), in update_vsc_pipe()
715 set_bin_size(ring, gmem->bin_w, gmem->bin_h, in fd6_emit_tile_init()
732 set_bin_size(ring, gmem->bin_w, gmem->bin_h, in fd6_emit_tile_init()
750 set_bin_size(ring, gmem->bin_w, gmem->bin_h, 0x6000000); in fd6_emit_tile_init()
793 uint32_t y2 = tile->yoff + tile->bin_h - 1; in fd6_emit_tile_prep()
821 set_bin_size(ring, gmem->bin_w, gmem->bin_h, 0x6000000); in fd6_emit_tile_prep()
/external/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.c301 uint32_t bin_w, uint32_t bin_h, uint32_t flags) in tu6_emit_bin_size() argument
305 .binh = bin_h, in tu6_emit_bin_size()
310 .binh = bin_h, in tu6_emit_bin_size()
316 .binh = bin_h)); in tu6_emit_bin_size()