Searched refs:max_lds_size (Results 1 – 4 of 4) sorted by relevance
298 unsigned max_lds_size = 64 * 1024; in ac_rtld_open() local302 max_lds_size = 32 * 1024; in ac_rtld_open()308 if (shared_lds_size > max_lds_size) { in ac_rtld_open()310 (unsigned)shared_lds_size, max_lds_size); in ac_rtld_open()415 if (binary->lds_size > max_lds_size) { in ac_rtld_open()417 (unsigned)binary->lds_size, max_lds_size); in ac_rtld_open()
1812 const unsigned max_lds_size = 8 * 1024; in gfx9_get_gs_info() local1854 if (esgs_lds_size > max_lds_size) { in gfx9_get_gs_info()1859 gs_prims = MIN2((max_lds_size / (esgs_itemsize * min_es_verts)), in gfx9_get_gs_info()1866 assert(esgs_lds_size <= max_lds_size); in gfx9_get_gs_info()1968 const unsigned max_lds_size = 8 * 1024 - 768; in gfx10_get_ngg_info() local1969 const unsigned target_lds_size = max_lds_size; in gfx10_get_ngg_info()2083 (max_lds_size - max_gsprims * gsprim_lds_size) / in gfx10_get_ngg_info()2100 MIN2(max_gsprims, (max_lds_size - usable_esverts * esvert_lds_size) / gsprim_lds_size); in gfx10_get_ngg_info()
1932 const unsigned max_lds_size = 8 * 1024 - gfx10_ngg_get_scratch_dw_size(shader); in gfx10_ngg_calculate_subgroup_info() local1933 const unsigned target_lds_size = max_lds_size; in gfx10_ngg_calculate_subgroup_info()2038 MIN2(max_esverts, (max_lds_size - max_gsprims * gsprim_lds_size) / esvert_lds_size); in gfx10_ngg_calculate_subgroup_info()2052 … MIN2(max_gsprims, (max_lds_size - usable_esverts * esvert_lds_size) / gsprim_lds_size); in gfx10_ngg_calculate_subgroup_info()
641 const unsigned max_lds_size = 8 * 1024; in gfx9_get_gs_info() local682 if (esgs_lds_size > max_lds_size) { in gfx9_get_gs_info()687 gs_prims = MIN2((max_lds_size / (esgs_itemsize * min_es_verts)), max_gs_prims); in gfx9_get_gs_info()692 assert(esgs_lds_size <= max_lds_size); in gfx9_get_gs_info()