Re: [PATCH 06/11] drm/i915: Add function to set subslices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> ---
>  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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux