All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/3] tools/intel_watermark: Deal with TGL planes
@ 2020-07-15 15:05 Ville Syrjala
  2020-07-15 15:05 ` [igt-dev] [PATCH i-g-t 2/3] tests/kms_cursor_crc: Fix segfault on skip Ville Syrjala
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ville Syrjala @ 2020-07-15 15:05 UTC (permalink / raw)
  To: igt-dev

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-15 19:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 15:05 [igt-dev] [PATCH i-g-t 1/3] tools/intel_watermark: Deal with TGL planes Ville Syrjala
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

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.