Lines Matching refs:subslice_mask

28 	for (i = 0; i < ARRAY_SIZE(sseu->subslice_mask); i++)  in intel_sseu_subslice_total()
29 total += hweight8(sseu->subslice_mask[i]); in intel_sseu_subslice_total()
42 mask |= (u32)sseu->subslice_mask[offset + i] << in intel_sseu_get_subslices()
49 u8 *subslice_mask, u32 ss_mask) in intel_sseu_set_subslices() argument
53 memcpy(&subslice_mask[offset], &ss_mask, sseu->ss_stride); in intel_sseu_set_subslices()
141 intel_sseu_set_subslices(sseu, s, sseu->subslice_mask, in gen11_compute_sseu_info()
241 u8 subslice_mask = 0; in cherryview_sseu_info_init() local
255 subslice_mask |= BIT(0); in cherryview_sseu_info_init()
266 subslice_mask |= BIT(1); in cherryview_sseu_info_init()
270 intel_sseu_set_subslices(sseu, 0, sseu->subslice_mask, subslice_mask); in cherryview_sseu_info_init()
298 u32 fuse2, eu_disable, subslice_mask; in gen9_sseu_info_init() local
313 subslice_mask = (1 << sseu->max_subslices) - 1; in gen9_sseu_info_init()
314 subslice_mask &= ~((fuse2 & GEN9_F2_SS_DIS_MASK) >> in gen9_sseu_info_init()
326 intel_sseu_set_subslices(sseu, s, sseu->subslice_mask, in gen9_sseu_info_init()
327 subslice_mask); in gen9_sseu_info_init()
384 #define IS_SS_DISABLED(ss) (!(sseu->subslice_mask[0] & BIT(ss))) in gen9_sseu_info_init()
385 info->has_pooled_eu = hweight8(sseu->subslice_mask[0]) == 3; in gen9_sseu_info_init()
405 u32 fuse2, subslice_mask, eu_disable[3]; /* s_max */ in bdw_sseu_info_init() local
416 subslice_mask = GENMASK(sseu->max_subslices - 1, 0); in bdw_sseu_info_init()
417 subslice_mask &= ~((fuse2 & GEN8_F2_SS_DIS_MASK) >> in bdw_sseu_info_init()
439 intel_sseu_set_subslices(sseu, s, sseu->subslice_mask, in bdw_sseu_info_init()
440 subslice_mask); in bdw_sseu_info_init()
491 u8 subslice_mask = 0; in hsw_sseu_info_init() local
504 subslice_mask = BIT(0); in hsw_sseu_info_init()
508 subslice_mask = BIT(0) | BIT(1); in hsw_sseu_info_init()
512 subslice_mask = BIT(0) | BIT(1); in hsw_sseu_info_init()
533 hweight8(subslice_mask), in hsw_sseu_info_init()
537 intel_sseu_set_subslices(sseu, s, sseu->subslice_mask, in hsw_sseu_info_init()
538 subslice_mask); in hsw_sseu_info_init()
596 subslices = hweight8(req_sseu->subslice_mask); in intel_sseu_make_rpcs()
625 subslices > min_t(u8, 4, hweight8(sseu->subslice_mask[0]) / 2)) { in intel_sseu_make_rpcs()