[Intel-gfx] [PATCH 06/11] drm/i915: Add function to set subslices

Chris Wilson chris at chris-wilson.co.uk
Wed Aug 21 22:32:06 UTC 2019


Quoting Stuart Summers (2019-08-21 00:05:39)
> Add a new function to set a set of subslices for a given
> slice.
> 
> Signed-off-by: Stuart Summers <stuart.summers at intel.com>
> ---
>  drivers/gpu/drm/i915/gt/intel_sseu.c     |  6 ++++++
>  drivers/gpu/drm/i915/gt/intel_sseu.h     |  3 +++
>  drivers/gpu/drm/i915/intel_device_info.c | 18 +++++++++++-------
>  3 files changed, 20 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/gt/intel_sseu.c b/drivers/gpu/drm/i915/gt/intel_sseu.c
> index 3a5c0f7b5a08..79a9b5f186f9 100644
> --- a/drivers/gpu/drm/i915/gt/intel_sseu.c
> +++ b/drivers/gpu/drm/i915/gt/intel_sseu.c
> @@ -30,6 +30,12 @@ intel_sseu_subslice_total(const struct sseu_dev_info *sseu)
>         return total;
>  }
>  
> +void intel_sseu_set_subslices(struct sseu_dev_info *sseu, int slice,
> +                             u8 ss_mask)
> +{
> +       sseu->subslice_mask[i] = ss_mask & 0xff;

What's i?
-Chris


More information about the Intel-gfx mailing list