[igt-dev] [PATCH i-g-t 1/2] amdgpu/amd_abm: Double convergence timeout

Rodrigo Siqueira Rodrigo.Siqueira at amd.com
Fri Nov 19 15:53:43 UTC 2021


From: Roman Li <roman.li at amd.com>

[Why]
With ABM 2.3 the transition time from one abm level to another
increased thus with the current timeout 15 the tests failed.

[How]
Change convergence timeout from 15 to 30

Signed-off-by: Roman Li <roman.li at amd.com>
---
 tests/amdgpu/amd_abm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/amdgpu/amd_abm.c b/tests/amdgpu/amd_abm.c
index 0505f17e..69c34882 100644
--- a/tests/amdgpu/amd_abm.c
+++ b/tests/amdgpu/amd_abm.c
@@ -265,7 +265,7 @@ static void abm_enabled(data_t *data)
 static void abm_gradual(data_t *data)
 {
 	int ret, i;
-	int convergence_delay = 15;
+	int convergence_delay = 30;
 	int prev_pwm, pwm, curr;
 	int max_brightness;
 
-- 
2.25.1



More information about the igt-dev mailing list