Lines Matching refs:sseu
109 intel_sseu_from_device_info(const struct sseu_dev_info *sseu) in intel_sseu_from_device_info() argument
112 .slice_mask = sseu->slice_mask, in intel_sseu_from_device_info()
113 .subslice_mask = sseu->subslice_mask.hsw[0], in intel_sseu_from_device_info()
114 .min_eus_per_subslice = sseu->max_eus_per_subslice, in intel_sseu_from_device_info()
115 .max_eus_per_subslice = sseu->max_eus_per_subslice, in intel_sseu_from_device_info()
122 intel_sseu_has_subslice(const struct sseu_dev_info *sseu, int slice, in intel_sseu_has_subslice() argument
125 if (slice >= sseu->max_slices || in intel_sseu_has_subslice()
126 subslice >= sseu->max_subslices) in intel_sseu_has_subslice()
129 if (sseu->has_xehp_dss) in intel_sseu_has_subslice()
130 return test_bit(subslice, sseu->subslice_mask.xehp); in intel_sseu_has_subslice()
132 return sseu->subslice_mask.hsw[slice] & BIT(subslice); in intel_sseu_has_subslice()
141 intel_sseu_find_first_xehp_dss(const struct sseu_dev_info *sseu, int groupsize, in intel_sseu_find_first_xehp_dss() argument
144 return find_next_bit(sseu->subslice_mask.xehp, in intel_sseu_find_first_xehp_dss()
145 XEHP_BITMAP_BITS(sseu->subslice_mask), in intel_sseu_find_first_xehp_dss()
149 void intel_sseu_set_info(struct sseu_dev_info *sseu, u8 max_slices,
153 intel_sseu_subslice_total(const struct sseu_dev_info *sseu);
156 intel_sseu_get_hsw_subslices(const struct sseu_dev_info *sseu, u8 slice);
159 intel_sseu_get_compute_subslices(const struct sseu_dev_info *sseu);
166 void intel_sseu_dump(const struct sseu_dev_info *sseu, struct drm_printer *p);
168 const struct sseu_dev_info *sseu,
174 const struct sseu_dev_info *sseu);
176 const struct sseu_dev_info *sseu);
179 const struct sseu_dev_info *sseu,