Re: [Intel-gfx] [PATCH v14 1/6] drm/i915: store all subslice masks

2018-02-23 Thread Lionel Landwerlin
On 22/02/18 17:53, Lionel Landwerlin wrote: +static inline u16 sseu_get_eus(const struct sseu_dev_info *sseu, + int slice, int subslice) +{ + int i, offset = sseu_eu_idx(sseu, slice, subslice); + u16 eu_mask = 0; + + for (i = 0; +i <

[Intel-gfx] [PATCH v14 1/6] drm/i915: store all subslice masks

2018-02-22 Thread Lionel Landwerlin
Up to now, subslice mask was assumed to be uniform across slices. But starting with Cannonlake, slices can be asymmetric (for example slice0 has different number of subslices as slice1+). This change stores all subslices masks for all slices rather than having a single mask that applies to all