mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user