Skip to content
Commit ece5aeea authored by Jianxun Zhang's avatar Jianxun Zhang Committed by Bruce Ashfield
Browse files

uvesafb: provide option to specify timeout for task completion



We try to make this change a generic extension, but it is
actually for a corner case. When a VM (qemu) gets a very limited
cpu bandwidth from host, which could be under a heavy load, the
existing 5000 ms timeout could occur and trigger error messages
in the task function's callers.

This change adds a new timeout parameter so that we can tweak
the value as a workaround or for troubleshooting purposes. In
the infinite wait case, A warning message is printed at 5000ms
interval.

In real world, the current 5 sec is generous enough for a video
request in my opinion, so this change could not be very useful.

Upstream Status: Inappropriate

Signed-off-by: default avatarJianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
parent a0ed4816
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment