Browse Source

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: Jyri Sarha <jsarha@ti.com>
Jyri Sarha 9 years ago
parent
commit
437c7d948d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/tilcdc/tilcdc_crtc.c

+ 1 - 1
drivers/gpu/drm/tilcdc/tilcdc_crtc.c

@@ -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__);