diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-12-18 16:22:32 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-02-05 22:14:37 +0200 |
commit | f46cb243b4234af06bf7ea18814bbff0aa36d059 (patch) | |
tree | 8baa4a40ec5afc9a073ba6fa4edc2a42575d1f03 /tools | |
parent | 3bb24a9f2ae732a1299d18e921d88945c6bb00ea (diff) |
tools/intel_watermark: Bump number of planes to 8 for icl
icl has 8 planes per pipe. Bump the limits to match.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/intel_watermark.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c index 3fd37441c..b61a26f1c 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; |