drm: set wait_for_completion_timeout for commit clean up

no need to wait 10000ms for time out. because even the 24fps
panel, the vsync time is 41ms.

Change-Id: I161836eca3f93d954028e06e4175db6c6d7ec734
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
Sandy Huang
2018-12-30 11:32:51 +08:00
parent a997ba744c
commit 4cd2da42a7

View File

@@ -1446,7 +1446,7 @@ void drm_atomic_helper_commit_cleanup_done(struct drm_atomic_state *state)
* before releasing our reference, since the vblank work does
* not hold a reference of its own. */
ret = wait_for_completion_timeout(&commit->flip_done,
10*HZ);
msecs_to_jiffies(100));
if (ret == 0)
DRM_ERROR("[CRTC:%d] flip_done timed out\n",
crtc->base.id);