Lines Matching refs:tile_split

650                               unsigned bpe, unsigned tile_split,  in eg_surface_init_2d()  argument
664 if (tileb > tile_split && tile_split) { in eg_surface_init_2d()
665 slice_pt = tileb / tile_split; in eg_surface_init_2d()
729 switch (surf->tile_split) { in eg_surface_sanity()
774 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_sanity()
816 surf->tile_split, 0, 0); in eg_surface_init_2d_miptrees()
913 surf->tile_split = 1024; in eg_surface_best()
917 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
942 surf->tile_split = 128; in eg_surface_best()
945 surf->tile_split = 128; in eg_surface_best()
948 surf->tile_split = 256; in eg_surface_best()
951 surf->tile_split = 512; in eg_surface_best()
961 surf->tile_split = MAX2(surf->nsamples * surf->bpe * 64, 256); in eg_surface_best()
962 if (surf->tile_split > 4096) in eg_surface_best()
963 surf->tile_split = 4096; in eg_surface_best()
967 surf->tile_split = surf_man->hw_info.row_size; in eg_surface_best()
983 tileb = MIN2(surf->tile_split, 64 * surf->nsamples); in eg_surface_best()
985 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
1071 uint32_t *tile_split) in si_gb_tile_mode() argument
1164 if (tile_split) { in si_gb_tile_mode()
1168 *tile_split = 64; in si_gb_tile_mode()
1171 *tile_split = 128; in si_gb_tile_mode()
1174 *tile_split = 256; in si_gb_tile_mode()
1177 *tile_split = 512; in si_gb_tile_mode()
1180 *tile_split = 1024; in si_gb_tile_mode()
1183 *tile_split = 2048; in si_gb_tile_mode()
1186 *tile_split = 4096; in si_gb_tile_mode()
1311 if (!surf->tile_split) { in si_surface_sanity()
1316 surf->tile_split = 64; in si_surface_sanity()
1392 …_tile_mode(gb_tile_mode, NULL, NULL, &surf->mtilea, &surf->bankw, &surf->bankh, &surf->tile_split); in si_surface_sanity()
1614 unsigned tile_split, in si_surface_init_2d() argument
1630 if (tileb > tile_split && tile_split) { in si_surface_init_2d()
1631 slice_pt = tileb / tile_split; in si_surface_init_2d()
1705 …d(surf_man, surf, surf->level, surf->bpe, tile_mode, num_pipes, num_banks, surf->tile_split, 0, 0); in si_surface_init_2d_miptrees()
1863 unsigned tile_split, sample_split; in cik_get_2d_params() local
1895 tile_split = 64; in cik_get_2d_params()
1898 tile_split = 128; in cik_get_2d_params()
1901 tile_split = 256; in cik_get_2d_params()
1904 tile_split = 512; in cik_get_2d_params()
1907 tile_split = 1024; in cik_get_2d_params()
1910 tile_split = 2048; in cik_get_2d_params()
1913 tile_split = 4096; in cik_get_2d_params()
1935 tile_split = MAX2(256, sample_split * tileb_1x); in cik_get_2d_params()
1937 tile_split = MIN2(surf_man->hw_info.row_size, tile_split); in cik_get_2d_params()
1940 tileb = MIN2(tile_split, nsamples * tileb_1x); in cik_get_2d_params()
1948 *tile_split_ptr = tile_split; in cik_get_2d_params()
2138 if (!surf->tile_split) { in cik_surface_sanity()
2143 surf->tile_split = 64; in cik_surface_sanity()
2182 NULL, &surf->tile_split, NULL, &surf->mtilea, in cik_surface_sanity()
2210 unsigned tile_split, in cik_surface_init_2d() argument
2226 tile_split = MIN2(surf_man->hw_info.row_size, tile_split); in cik_surface_init_2d()
2232 if (tileb > tile_split && tile_split) { in cik_surface_init_2d()
2233 slice_pt = tileb / tile_split; in cik_surface_init_2d()
2307 surf->tile_split, num_pipes, num_banks, 0, 0); in cik_surface_init_2d_miptrees()