Searched refs:max_lds_size (Results 1 – 6 of 6) 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()
2368 const unsigned max_lds_size = 8 * 1024 - gfx10_ngg_get_scratch_dw_size(shader); in gfx10_ngg_calculate_subgroup_info() local2369 const unsigned target_lds_size = max_lds_size; in gfx10_ngg_calculate_subgroup_info()2457 MIN2(max_esverts, (max_lds_size - max_gsprims * gsprim_lds_size) / esvert_lds_size); in gfx10_ngg_calculate_subgroup_info()2472 … MIN2(max_gsprims, (max_lds_size - usable_esverts * esvert_lds_size) / gsprim_lds_size); in gfx10_ngg_calculate_subgroup_info()
845 const unsigned max_lds_size = 8 * 1024; in gfx9_get_gs_info() local886 if (esgs_lds_size > max_lds_size) { in gfx9_get_gs_info()891 gs_prims = MIN2((max_lds_size / (esgs_itemsize * min_es_verts)), max_gs_prims); in gfx9_get_gs_info()896 assert(esgs_lds_size <= max_lds_size); in gfx9_get_gs_info()
719 ASSERTED unsigned max_lds_size = 32 * 1024; /* hw limit */ in si_emit_derived_tess_state() local723 assert(*num_patches * lds_per_patch <= max_lds_size); in si_emit_derived_tess_state()
2299 const unsigned max_lds_size = 8 * 1024; in gfx9_get_gs_info() local2340 if (esgs_lds_size > max_lds_size) { in gfx9_get_gs_info()2345 gs_prims = MIN2((max_lds_size / (esgs_itemsize * min_es_verts)), max_gs_prims); in gfx9_get_gs_info()2350 assert(esgs_lds_size <= max_lds_size); in gfx9_get_gs_info()2517 const unsigned max_lds_size = 8 * 1024 - 768; in gfx10_get_ngg_info() local2518 const unsigned target_lds_size = max_lds_size; in gfx10_get_ngg_info()2626 MIN2(max_esverts, (max_lds_size - max_gsprims * gsprim_lds_size) / esvert_lds_size); in gfx10_get_ngg_info()2646 (max_lds_size - usable_esverts * esvert_lds_size) / gsprim_lds_size); in gfx10_get_ngg_info()
2153 - radeonsi: fix max_lds_size warning in release builds