Lines Matching refs:subslice_mask
27 return bitmap_weight(sseu->subslice_mask.xehp, in intel_sseu_subslice_total()
28 XEHP_BITMAP_BITS(sseu->subslice_mask)); in intel_sseu_subslice_total()
30 for (i = 0; i < ARRAY_SIZE(sseu->subslice_mask.hsw); i++) in intel_sseu_subslice_total()
31 total += hweight8(sseu->subslice_mask.hsw[i]); in intel_sseu_subslice_total()
43 return sseu->subslice_mask.hsw[slice]; in intel_sseu_get_hsw_subslices()
156 sseu->subslice_mask.hsw[0] = ss_en & valid_ss_mask; in gen11_compute_sseu_info()
173 bitmap_or(sseu->subslice_mask.xehp, in xehp_compute_sseu_info()
176 XEHP_BITMAP_BITS(sseu->subslice_mask)); in xehp_compute_sseu_info()
347 sseu->subslice_mask.hsw[0] |= BIT(0); in cherryview_sseu_info_init()
358 sseu->subslice_mask.hsw[0] |= BIT(1); in cherryview_sseu_info_init()
387 u32 fuse2, eu_disable, subslice_mask; in gen9_sseu_info_init() local
402 subslice_mask = (1 << sseu->max_subslices) - 1; in gen9_sseu_info_init()
403 subslice_mask &= ~((fuse2 & GEN9_F2_SS_DIS_MASK) >> in gen9_sseu_info_init()
415 sseu->subslice_mask.hsw[s] = subslice_mask; in gen9_sseu_info_init()
472 #define IS_SS_DISABLED(ss) (!(sseu->subslice_mask.hsw[0] & BIT(ss))) in gen9_sseu_info_init()
473 RUNTIME_INFO(i915)->has_pooled_eu = hweight8(sseu->subslice_mask.hsw[0]) == 3; in gen9_sseu_info_init()
493 u32 fuse2, subslice_mask, eu_disable[3]; /* s_max */ in bdw_sseu_info_init() local
504 subslice_mask = GENMASK(sseu->max_subslices - 1, 0); in bdw_sseu_info_init()
505 subslice_mask &= ~((fuse2 & GEN8_F2_SS_DIS_MASK) >> in bdw_sseu_info_init()
527 sseu->subslice_mask.hsw[s] = subslice_mask; in bdw_sseu_info_init()
578 u8 subslice_mask = 0; in hsw_sseu_info_init() local
591 subslice_mask = BIT(0); in hsw_sseu_info_init()
595 subslice_mask = BIT(0) | BIT(1); in hsw_sseu_info_init()
599 subslice_mask = BIT(0) | BIT(1); in hsw_sseu_info_init()
620 hweight8(subslice_mask), in hsw_sseu_info_init()
624 sseu->subslice_mask.hsw[s] = subslice_mask; in hsw_sseu_info_init()
684 subslices = hweight8(req_sseu->subslice_mask); in intel_sseu_make_rpcs()
713 subslices > min_t(u8, 4, hweight8(sseu->subslice_mask.hsw[0]) / 2)) { in intel_sseu_make_rpcs()
795 u8 ss_mask = sseu->subslice_mask.hsw[s]; in intel_sseu_dump()
818 u8 ss_mask = sseu->subslice_mask.hsw[s]; in sseu_print_hsw_topology()
876 s, hweight8(sseu->subslice_mask.hsw[s])); in intel_sseu_print_ss_info()