diff options
author | Liu Ying <victor.liu@nxp.com> | 2019-03-22 13:57:43 +0800 |
---|---|---|
committer | Liu Ying <victor.liu@nxp.com> | 2019-03-22 17:00:19 +0800 |
commit | 30d5eb32e0f57af6e7f7420b46c86e2ddca5ac2b (patch) | |
tree | 89eeda01e3217cc397b1f1fcf7ed30cb058fdcb2 | |
parent | 1befe1d04e4efa9853059c8bfcc56d4c3cdb0940 (diff) |
MLK-21231 gpu: imx: dpu: framegen: Wait for 100ms at most for secondary syncup
Another coming patch will wait for framegen secondary channel syncup
for non-sync mode cases. It appears that waiting for 50ms for video
modes like 1920x1080p@24 and 1920x1080p@30 is not enough. So, this
patch increases the timeout value to 100ms.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
(cherry picked from commit 5357bce465db659d69a5026882a899f2077ee078)
-rw-r--r-- | drivers/gpu/imx/dpu/dpu-framegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/imx/dpu/dpu-framegen.c b/drivers/gpu/imx/dpu/dpu-framegen.c index 5e6ce5b7e75b..994d6ac0c0e5 100644 --- a/drivers/gpu/imx/dpu/dpu-framegen.c +++ b/drivers/gpu/imx/dpu/dpu-framegen.c @@ -626,7 +626,7 @@ EXPORT_SYMBOL_GPL(framegen_secondary_is_syncup); void framegen_wait_for_secondary_syncup(struct dpu_framegen *fg) { - unsigned long timeout = jiffies + msecs_to_jiffies(50); + unsigned long timeout = jiffies + msecs_to_jiffies(100); bool syncup; do { |