From f46cb243b4234af06bf7ea18814bbff0aa36d059 Mon Sep 17 00:00:00 2001 From: Ville Syrjälä Date: Tue, 18 Dec 2018 16:22:32 +0200 Subject: tools/intel_watermark: Bump number of planes to 8 for icl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit icl has 8 planes per pipe. Bump the limits to match. Signed-off-by: Ville Syrjälä Reviewed-by: José Roberto de Souza --- tools/intel_watermark.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c index 3fd37441..b61a26f1 100644 --- a/tools/intel_watermark.c +++ b/tools/intel_watermark.c @@ -137,7 +137,9 @@ static int is_hsw_plus(uint32_t d) static int skl_num_planes(uint32_t d, int pipe) { - if (IS_GEN10(d) || IS_GEMINILAKE(d)) + if (IS_GEN11(d)) + return 8; + else if (IS_GEN10(d) || IS_GEMINILAKE(d)) return 5; else if (IS_BROXTON(d)) return pipe == 2 ? 4 : 5; @@ -147,7 +149,9 @@ static int skl_num_planes(uint32_t d, int pipe) static int skl_max_planes(uint32_t d) { - if (IS_GEN10(d) || IS_GEMINILAKE(d) || IS_BROXTON(d)) + if (IS_GEN11(d)) + return 8; + else if (IS_GEN10(d) || IS_GEMINILAKE(d) || IS_BROXTON(d)) return 5; else return 4; -- cgit v1.2.3