[igt-dev] [PATCH i-g-t 1/6] tools/intel_watermark: Bump number of planes to 8 for icl
Ville Syrjala
ville.syrjala at linux.intel.com
Mon Jan 28 20:01:21 UTC 2019
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
icl has 8 planes per pipe. Bump the limits to match.
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 3fd37441cba7..b61a26f1cd57 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;
--
2.19.2
More information about the igt-dev
mailing list