summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc
diff options
context:
space:
mode:
authorJyri Sarha2016-06-16 15:19:17 +0200
committerJyri Sarha2016-08-08 22:04:52 +0200
commit437c7d948d75c83441afea48773e50b992632483 (patch)
treeca2b19468ba206aeee8ec9e3233ca97e4d694cc2 /drivers/gpu/drm/tilcdc
parentdrm/tilcdc: Move waiting of LCDC_FRAME_DONE IRQ into stop() (diff)
downloadkernel-qcow2-linux-437c7d948d75c83441afea48773e50b992632483.tar.gz
kernel-qcow2-linux-437c7d948d75c83441afea48773e50b992632483.tar.xz
kernel-qcow2-linux-437c7d948d75c83441afea48773e50b992632483.zip
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>
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
index bcbf733aae62..8013a74b5d12 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
@@ -127,7 +127,7 @@ static void stop(struct drm_crtc *crtc)
if (priv->rev == 2) {
int ret = wait_event_timeout(tilcdc_crtc->frame_done_wq,
tilcdc_crtc->frame_done,
- msecs_to_jiffies(50));
+ msecs_to_jiffies(500));
if (ret == 0)
dev_err(dev->dev, "%s: timeout waiting for framedone\n",
__func__);