Lines Matching refs:tile_split
655 unsigned bpe, unsigned tile_split, in eg_surface_init_2d() argument
669 if (tileb > tile_split && tile_split) { in eg_surface_init_2d()
670 slice_pt = tileb / tile_split; in eg_surface_init_2d()
734 switch (surf->tile_split) { in eg_surface_sanity()
779 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_sanity()
821 surf->tile_split, 0, 0); in eg_surface_init_2d_miptrees()
918 surf->tile_split = 1024; in eg_surface_best()
922 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
947 surf->tile_split = 128; in eg_surface_best()
950 surf->tile_split = 128; in eg_surface_best()
953 surf->tile_split = 256; in eg_surface_best()
956 surf->tile_split = 512; in eg_surface_best()
968 surf->tile_split = MAX2(2 * surf->bpe * 64, 256); in eg_surface_best()
969 if (surf->tile_split > 4096) in eg_surface_best()
970 surf->tile_split = 4096; in eg_surface_best()
974 surf->tile_split = surf_man->hw_info.row_size; in eg_surface_best()
990 tileb = MIN2(surf->tile_split, 64 * surf->nsamples); in eg_surface_best()
992 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
1078 uint32_t *tile_split) in si_gb_tile_mode() argument
1171 if (tile_split) { in si_gb_tile_mode()
1175 *tile_split = 64; in si_gb_tile_mode()
1178 *tile_split = 128; in si_gb_tile_mode()
1181 *tile_split = 256; in si_gb_tile_mode()
1184 *tile_split = 512; in si_gb_tile_mode()
1187 *tile_split = 1024; in si_gb_tile_mode()
1190 *tile_split = 2048; in si_gb_tile_mode()
1193 *tile_split = 4096; in si_gb_tile_mode()
1318 if (!surf->tile_split) { in si_surface_sanity()
1323 surf->tile_split = 64; in si_surface_sanity()
1399 …_tile_mode(gb_tile_mode, NULL, NULL, &surf->mtilea, &surf->bankw, &surf->bankh, &surf->tile_split); in si_surface_sanity()
1622 unsigned tile_split, in si_surface_init_2d() argument
1638 if (tileb > tile_split && tile_split) { in si_surface_init_2d()
1639 slice_pt = tileb / tile_split; in si_surface_init_2d()
1713 …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()
1871 unsigned tile_split, sample_split; in cik_get_2d_params() local
1903 tile_split = 64; in cik_get_2d_params()
1906 tile_split = 128; in cik_get_2d_params()
1909 tile_split = 256; in cik_get_2d_params()
1912 tile_split = 512; in cik_get_2d_params()
1915 tile_split = 1024; in cik_get_2d_params()
1918 tile_split = 2048; in cik_get_2d_params()
1921 tile_split = 4096; in cik_get_2d_params()
1943 tile_split = MAX2(256, sample_split * tileb_1x); in cik_get_2d_params()
1945 tile_split = MIN2(surf_man->hw_info.row_size, tile_split); in cik_get_2d_params()
1948 tileb = MIN2(tile_split, nsamples * tileb_1x); in cik_get_2d_params()
1956 *tile_split_ptr = tile_split; in cik_get_2d_params()
2146 if (!surf->tile_split) { in cik_surface_sanity()
2151 surf->tile_split = 64; in cik_surface_sanity()
2190 NULL, &surf->tile_split, NULL, &surf->mtilea, in cik_surface_sanity()
2218 unsigned tile_split, in cik_surface_init_2d() argument
2234 tile_split = MIN2(surf_man->hw_info.row_size, tile_split); in cik_surface_init_2d()
2240 if (tileb > tile_split && tile_split) { in cik_surface_init_2d()
2241 slice_pt = tileb / tile_split; in cik_surface_init_2d()
2315 surf->tile_split, num_pipes, num_banks, 0, 0); in cik_surface_init_2d_miptrees()