Home
last modified time | relevance | path

Searched refs:eu_mask (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_sseu.c52 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()
[all …]
H A Dintel_sseu_debugfs.c55 u32 s_reg[SS_MAX], eu_reg[2 * SS_MAX], eu_mask[2]; in gen11_sseu_device_status() local
73 eu_mask[0] = GEN9_PGCTL_SSA_EU08_ACK | in gen11_sseu_device_status()
77 eu_mask[1] = GEN9_PGCTL_SSB_EU08_ACK | in gen11_sseu_device_status()
99 eu_mask[ss % 2]); in gen11_sseu_device_status()
115 u32 s_reg[SS_MAX], eu_reg[2 * SS_MAX], eu_mask[2]; in gen9_sseu_device_status() local
126 eu_mask[0] = GEN9_PGCTL_SSA_EU08_ACK | in gen9_sseu_device_status()
130 eu_mask[1] = GEN9_PGCTL_SSB_EU08_ACK | in gen9_sseu_device_status()
156 eu_cnt = eu_reg[2 * s + ss / 2] & eu_mask[ss % 2]; in gen9_sseu_device_status()
H A Dintel_sseu.h76 } eu_mask; member