diff mbox series

[4/5] sandbox: Increase cyclic CPU-time limit

Message ID 20231119144700.631322-5-sjg@chromium.org
State Superseded
Delegated to: Anatolij Gustschin
Headers show
Series video: Improve syncing performance with cyclic | expand

Commit Message

Simon Glass Nov. 19, 2023, 2:46 p.m. UTC
Now that sandbox is using cyclic for video, it trips the 1us time
limit. Updating the sandbox display often takes 20ms or more.

Increase the limit to 100ms to avoid a warning.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 common/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/common/Kconfig b/common/Kconfig
index 0283701f1d05..07fe53dba687 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -628,6 +628,7 @@  if CYCLIC
 
 config CYCLIC_MAX_CPU_TIME_US
 	int "Sets the max allowed time for a cyclic function in us"
+	default 100000 if SANDBOX  # sandbox video is quite slow
 	default 1000
 	help
 	  The max allowed time for a cyclic function in us. If a functions