[igt-dev] [PATCH i-g-t 4/8] tools/intel_watermark: Reduce the number of planes for rkl/adls/adlp

Lisovskiy, Stanislav stanislav.lisovskiy at intel.com
Fri May 14 09:53:03 UTC 2021


On Wed, Apr 14, 2021 at 05:27:50AM +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Modern platforms have just 5 universal planes + cursor per pipe..

Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy at gmail.com>

> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
>  tools/intel_watermark.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c
> index 4a5764b59677..ff373fdb0c6d 100644
> --- a/tools/intel_watermark.c
> +++ b/tools/intel_watermark.c
> @@ -135,7 +135,9 @@ static int skl_num_planes(uint32_t d, int pipe)
>  {
>  	int gen = intel_gen(d);
>  
> -	if (gen >= 11)
> +	if (gen >= 13 || IS_ALDERLAKE_S(d) || IS_ROCKETLAKE(d))
> +		return 6;
> +	else if (gen >= 11)
>  		return 8;
>  	else if (gen == 10 || IS_GEMINILAKE(d))
>  		return 5;
> @@ -149,7 +151,9 @@ static int skl_max_planes(uint32_t d)
>  {
>  	int gen = intel_gen(d);
>  
> -	if (gen >= 11)
> +	if (gen >= 13 || IS_ALDERLAKE_S(d) || IS_ROCKETLAKE(d))
> +		return 6;
> +	else if (gen >= 11)
>  		return 8;
>  	else if (gen == 10 || IS_GEMINILAKE(d) || IS_BROXTON(d))
>  		return 5;
> -- 
> 2.26.3
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev


More information about the igt-dev mailing list