|
@@ -80,9 +80,13 @@ int omap_crtc_wait_pending(struct drm_crtc *crtc)
|
|
{
|
|
{
|
|
struct omap_crtc *omap_crtc = to_omap_crtc(crtc);
|
|
struct omap_crtc *omap_crtc = to_omap_crtc(crtc);
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ * Timeout is set to a "sufficiently" high value, which should cover
|
|
|
|
+ * a single frame refresh even on slower displays.
|
|
|
|
+ */
|
|
return wait_event_timeout(omap_crtc->pending_wait,
|
|
return wait_event_timeout(omap_crtc->pending_wait,
|
|
!omap_crtc->pending,
|
|
!omap_crtc->pending,
|
|
- msecs_to_jiffies(50));
|
|
|
|
|
|
+ msecs_to_jiffies(250));
|
|
}
|
|
}
|
|
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
/* -----------------------------------------------------------------------------
|