提交 437c7d94 编写于 作者: J Jyri Sarha

drm/tilcdc: Increase time out for waiting frame done interrupt

Increase time out for waiting frame done interrupt. 50ms is long
enough for the usual display modes (50 Hz or higher refresh rate), but
it may be a bit tight for some unusual mode.
Signed-off-by: NJyri Sarha <jsarha@ti.com>
上级 2d5be882
...@@ -127,7 +127,7 @@ static void stop(struct drm_crtc *crtc) ...@@ -127,7 +127,7 @@ static void stop(struct drm_crtc *crtc)
if (priv->rev == 2) { if (priv->rev == 2) {
int ret = wait_event_timeout(tilcdc_crtc->frame_done_wq, int ret = wait_event_timeout(tilcdc_crtc->frame_done_wq,
tilcdc_crtc->frame_done, tilcdc_crtc->frame_done,
msecs_to_jiffies(50)); msecs_to_jiffies(500));
if (ret == 0) if (ret == 0)
dev_err(dev->dev, "%s: timeout waiting for framedone\n", dev_err(dev->dev, "%s: timeout waiting for framedone\n",
__func__); __func__);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册