Skip to contentSkip to conversation

tests/kms_sysfs_edid_timing: increase thresholds

PATCH In review Charlton Lin 4 participants 4 messages Dec 8, 2023 – Dec 11, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/kms_sysfs_edid_timing: increase thresholds

A customer panel consistently exceeds 150ms. Additionally, the timing may be impacted by certain power states.

Increase all thresholds to accommodate.

Cc Sharma, Swati2 <[email protected]>
Cc Khaled Almahallawy <[email protected]>
Cc Mark Yacoub <[email protected]>
---
 tests/kms_sysfs_edid_timing.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tests/kms_sysfs_edid_timing.c +3 -3
index 775211089f81..582133ea002e 100644
@@ -26,9 +26,9 @@
 #include <fcntl.h>
 #include <sys/stat.h>
 
-#define THRESHOLD_PER_CONNECTOR		150
-#define THRESHOLD_PER_CONNECTOR_MEAN	140
-#define THRESHOLD_ALL_CONNECTORS_MEAN	100
+#define THRESHOLD_PER_CONNECTOR		1500
+#define THRESHOLD_PER_CONNECTOR_MEAN	1400
+#define THRESHOLD_ALL_CONNECTORS_MEAN	1000
 #define CHECK_TIMES			15
 
 IGT_TEST_DESCRIPTION("This test checks the time it takes to reprobe each "
Signature · 1 line
2.25.1
#1 lore raw

Hi Charlton,
On 2023-12-08 at 14:42:05 -0800, Charlton Lin wrote:

Please subscribe to igt-dev list, also when sending igt patches add i-g-t after PATCH:

[PATCH i-g-t] tests/kms_sysfs_edid_timing: increase thresholds

Quoted 6 lines

A customer panel consistently exceeds 150ms. Additionally, the timing may be impacted by certain power states.

Increase all thresholds to accommodate.

Cc Sharma, Swati2 <[email protected]>

----- ^^^^^^^^^^^^^^
This breaks your git send-email, correct is:

Cc Swati Sharma <[email protected]>
Quoted 2 lines
Cc Khaled Almahallawy <[email protected]>
Cc Mark Yacoub <[email protected]>

I don't see this in header? Added to cc.

Quoted 10 lines
---
 tests/kms_sysfs_edid_timing.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tests/kms_sysfs_edid_timing.c +0 -0
index 775211089f81..582133ea002e 100644

tests/kms_sysfs_edid_timing.c line 31

Quoted 9 lines
tests/kms_sysfs_edid_timing.c +3 -3
@@ -26,9 +26,9 @@
 #include <fcntl.h>
 #include <sys/stat.h>
 
-#define THRESHOLD_PER_CONNECTOR		150
-#define THRESHOLD_PER_CONNECTOR_MEAN	140
-#define THRESHOLD_ALL_CONNECTORS_MEAN	100
+#define THRESHOLD_PER_CONNECTOR		1500
+#define THRESHOLD_PER_CONNECTOR_MEAN	1400
+#define THRESHOLD_ALL_CONNECTORS_MEAN	1000

This is like increasing it ten times, add this to description. I am not KMS nor panel expert but is it really that long?

Regards,
Kamil

Quoted 6 lines
tests/kms_sysfs_edid_timing.c +0 -0
 #define CHECK_TIMES			15
 
 IGT_TEST_DESCRIPTION("This test checks the time it takes to reprobe each "
Signature · 1 line
2.25.1
#2 lore raw
Quoted 9 lines · Kamil Konieczny
Quoted 8 lines · Charlton Lin
tests/kms_sysfs_edid_timing.c +0 -0
index 775211089f81..582133ea002e 100644
@@ -26,9 +26,9 @@
 #include <fcntl.h>
 #include <sys/stat.h>
 
Quoted 9 lines

tests/kms_sysfs_edid_timing.c line 31

Quoted 6 lines
tests/kms_sysfs_edid_timing.c +3 -3
-#define THRESHOLD_PER_CONNECTOR		150
-#define THRESHOLD_PER_CONNECTOR_MEAN	140
-#define THRESHOLD_ALL_CONNECTORS_MEAN	100
+#define THRESHOLD_PER_CONNECTOR		1500
+#define THRESHOLD_PER_CONNECTOR_MEAN	1400
+#define THRESHOLD_ALL_CONNECTORS_MEAN	1000

This is like increasing it ten times, add this to description. I am not KMS nor panel expert but is it really that long?

Would be worth investigating *why* this specific panel takes so long, instead of allowing *all* panels to do so. We might add a regression that slows down probing and nobody would notice.

BR,
Jani.

Signature · 1 line
Jani Nikula, Intel
#3 lore raw

✗ Fi.CI.BUILD: failure for tests/kms_sysfs_edid_timing: increase thresholds

In reply to Charlton Lin
== Series Details ==

== Series Details ==

Series: tests/kms_sysfs_edid_timing: increase thresholds
URL : https://patchwork.freedesktop.org/series/127628/
State : failure

== Summary ==

Applying: tests/kms_sysfs_edid_timing: increase thresholds Using index info to reconstruct a base tree...
M tests/kms_sysfs_edid_timing.c
Falling back to patching base and 3-way merge... Auto-merging tests/kms_sysfs_edid_timing.c
CONFLICT (content): Merge conflict in tests/kms_sysfs_edid_timing.c Patch failed at 0001 tests/kms_sysfs_edid_timing: increase thresholds When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".