Lines Matching refs:eu_mask
52 return sseu->eu_mask.xehp[subslice]; in sseu_get_eus()
54 return sseu->eu_mask.hsw[slice][subslice]; in sseu_get_eus()
59 u16 eu_mask) in sseu_set_eus() argument
61 GEM_WARN_ON(eu_mask && __fls(eu_mask) >= sseu->max_eus_per_subslice); in sseu_set_eus()
64 sseu->eu_mask.xehp[subslice] = eu_mask; in sseu_set_eus()
66 sseu->eu_mask.hsw[slice][subslice] = eu_mask; in sseu_set_eus()
77 total += hweight16(sseu->eu_mask.xehp[ss]); in compute_eu_total()
79 total += hweight16(sseu->eu_mask.hsw[s][ss]); in compute_eu_total()
97 u8 eu_mask[GEN_SS_MASK_SIZE * GEN_MAX_EU_STRIDE] = {}; in intel_sseu_copy_eumask_to_user() local
110 eu_mask[uapi_offset + i] = in intel_sseu_copy_eumask_to_user()
115 return copy_to_user(to, eu_mask, len); in intel_sseu_copy_eumask_to_user()
384 const u8 eu_mask = 0xff; in gen9_sseu_info_init() local
422 eu_disabled_mask = (eu_disable >> (ss * 8)) & eu_mask; in gen9_sseu_info_init()
424 sseu_set_eus(sseu, s, ss, ~eu_disabled_mask & eu_mask); in gen9_sseu_info_init()