All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 1/3] tools/intel_watermark: Deal with TGL planes
Date: Wed, 15 Jul 2020 18:05:40 +0300	[thread overview]
Message-ID: <20200715150542.30405-1-ville.syrjala@linux.intel.com> (raw)

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

TGL has the same amount of planes as ICL. Make intel_watermark
aware of that fact.

TODO: RKL+ have less planes, but we have IS_RKL() atm...

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 tools/intel_watermark.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c
index 14d1ae0d80f7..0d4f655ca2a8 100644
--- a/tools/intel_watermark.c
+++ b/tools/intel_watermark.c
@@ -127,7 +127,7 @@ static char endis_ast(bool enabled)
 
 static int skl_num_planes(uint32_t d, int pipe)
 {
-	if (IS_GEN11(d))
+	if (IS_GEN12(d) || IS_GEN11(d))
 		return 8;
 	else if (IS_GEN10(d) || IS_GEMINILAKE(d))
 		return 5;
-- 
2.26.2

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

             reply	other threads:[~2020-07-15 15:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-15 15:05 Ville Syrjala [this message]
2020-07-15 15:05 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_cursor_crc: Fix segfault on skip Ville Syrjala
2020-07-15 15:05 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_color_helper: Respect --skip-crc-compare Ville Syrjala
2020-07-15 15:31 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tools/intel_watermark: Deal with TGL planes Patchwork
2020-07-15 19:45 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200715150542.30405-1-ville.syrjala@linux.intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.