From: Simon Glass <sjg@chromium.org>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>,
Tom Rini <trini@konsulko.com>, Anatolij Gustschin <agust@denx.de>,
Simon Glass <sjg@chromium.org>
Subject: [PATCH v4 4/5] sandbox: Increase cyclic CPU-time limit
Date: Wed, 31 Jul 2024 08:44:11 -0600 [thread overview]
Message-ID: <20240731144412.790317-5-sjg@chromium.org> (raw)
In-Reply-To: <20240731144412.790317-1-sjg@chromium.org>
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>
---
(no changes since v1)
common/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/Kconfig b/common/Kconfig
index 87b0ec3ea8f..83c81edac20 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -636,6 +636,7 @@ config SPL_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 5000
help
The max allowed time for a cyclic function in us. If a functions
--
2.34.1
next prev parent reply other threads:[~2024-07-31 14:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 14:44 [PATCH v4 0/5] video: Improve syncing performance with cyclic Simon Glass
2024-07-31 14:44 ` [PATCH v4 1/5] cyclic: Add a symbol for SPL Simon Glass
2024-07-31 14:44 ` [PATCH v4 2/5] video: Move last_sync to private data Simon Glass
2024-07-31 14:44 ` [PATCH v4 3/5] video: Use cyclic to handle video sync Simon Glass
2024-07-31 14:44 ` Simon Glass [this message]
2024-07-31 14:44 ` [PATCH v4 5/5] sandbox: Drop video-sync in serial driver Simon Glass
2024-07-31 18:52 ` [PATCH v4 0/5] video: Improve syncing performance with cyclic Anatolij Gustschin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240731144412.790317-5-sjg@chromium.org \
--to=sjg@chromium.org \
--cc=agust@denx.de \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox