Skip to contentSkip to conversation

tests/kms_plane_multiple: Change number of iterations

PATCH In review Mika Kahola 4 participants 5 messages Jan 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/kms_plane_multiple: Change number of iterations

In CI system, the default 64 iterations of this test may cause CRC overflow warnings in dmesg when debugfs is enabled in kernel config. To keep dmesg warning noise in minimum, let's run this test only once by default.

---
 tests/kms_plane_multiple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_plane_multiple.c +1 -1
index 5e12be4..b94ec36 100644
@@ -62,7 +62,7 @@ struct {
 	bool user_seed;
 	int seed;
 } opt = {
-	.iterations = 64,
+	.iterations = 1,
 	.user_seed = false,
 	.seed = 1,
 };
Signature · 6 lines
2.7.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw
Quoted 3 lines · Mika Kahola

In CI system, the default 64 iterations of this test may cause CRC overflow warnings in dmesg when debugfs is enabled in kernel config. To keep dmesg warning noise in minimum, let's run this test only once by default.

Please give an example of the warnings.

BR,
Jani.

Quoted 19 lines
---
 tests/kms_plane_multiple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_plane_multiple.c +1 -1
index 5e12be4..b94ec36 100644
@@ -62,7 +62,7 @@ struct {
 	bool user_seed;
 	int seed;
 } opt = {
-	.iterations = 64,
+	.iterations = 1,
 	.user_seed = false,
 	.seed = 1,
 };
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Reviewed-by on v1 1/1
#2 lore raw
In reply to Mika Kahola

Op 12-01-17 om 12:12 schreef Mika Kahola:

Quoted 14 lines

In CI system, the default 64 iterations of this test may cause CRC overflow warnings in dmesg when debugfs is enabled in kernel config. To keep dmesg warning noise in minimum, let's run this test only once by default.

---
 tests/kms_plane_multiple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_plane_multiple.c +0 -0
index 5e12be4..b94ec36 100644

tests/kms_plane_multiple.c struct { · line 68

Quoted 8 lines
tests/kms_plane_multiple.c +1 -1
@@ -62,7 +62,7 @@ struct {
 	bool user_seed;
 	int seed;
 } opt = {
-	.iterations = 64,
+	.iterations = 1,
 	.user_seed = false,
 	.seed = 1,
 };

Though such small changes don't need review. :)

~Maarten

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw
Quoted 26 lines · Maarten Lankhorst

Op 12-01-17 om 12:12 schreef Mika Kahola:

Quoted 14 lines

In CI system, the default 64 iterations of this test may cause CRC overflow warnings in dmesg when debugfs is enabled in kernel config. To keep dmesg warning noise in minimum, let's run this test only once by default.

---
 tests/kms_plane_multiple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_plane_multiple.c +0 -0
index 5e12be4..b94ec36 100644

tests/kms_plane_multiple.c struct { · line 68

Quoted 8 lines
tests/kms_plane_multiple.c +1 -1
@@ -62,7 +62,7 @@ struct {
 	bool user_seed;
 	int seed;
 } opt = {
-	.iterations = 64,
+	.iterations = 1,
 	.user_seed = false,
 	.seed = 1,
 };
Quoted 1 line

Though such small changes don't need review. :)

I am also intrigued as to what a "CRC overflow warning" is and why userspace needs to take remedial action to hide the warning. -Chris

Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#4 lore raw
Quoted 36 lines

-----Original Message-----
From: Chris Wilson [mailto:[email protected]]
Sent: Thursday, January 12, 2017 2:00 PM
To: Maarten Lankhorst <[email protected]>
Cc: Kahola, Mika <[email protected]>; [email protected]
Subject: Re: [Intel-gfx] [PATCH i-g-t] tests/kms_plane_multiple: Change number of iterations

Quoted 4 lines · Maarten Lankhorst

Op 12-01-17 om 12:12 schreef Mika Kahola:

Quoted 3 lines

In CI system, the default 64 iterations of this test may cause CRC overflow warnings in dmesg when debugfs is enabled in kernel config. To keep dmesg warning noise in minimum, let's run this test only once by

default.

Quoted 22 lines
Quoted 11 lines
---
 tests/kms_plane_multiple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_plane_multiple.c +0 -0
index 5e12be4..b94ec36 100644

tests/kms_plane_multiple.c struct { · line 68

Quoted 8 lines
tests/kms_plane_multiple.c +1 -1
@@ -62,7 +62,7 @@ struct {
 	bool user_seed;
 	int seed;
 } opt = {
-	.iterations = 64,
+	.iterations = 1,
 	.user_seed = false,
 	.seed = 1,
 };
Quoted 4 lines
Quoted 1 line

Though such small changes don't need review. :)

I am also intrigued as to what a "CRC overflow warning" is and why userspace needs to take remedial action to hide the warning.

From CI runs you may see these errors

[drm:display_pipe_crc_irq_handler [i915]] *ERROR* CRC buffer overflowing

For a real fix, should we increase the size of ringbuffer where crc's are stored or in the kms_plane_multiple test wait for a while before running the next iteration?

Quoted 4 lines

-Chris

--
Chris Wilson, Intel Open Source Technology Centre

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx