OSDN Git Service

drm/omap: increase vblank wait timeout
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 Nov 2015 15:31:25 +0000 (17:31 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 Mar 2016 15:36:42 +0000 (17:36 +0200)
commit61f3c40b489c7f3ca2f844e6513c1abd08e66a93
tree58920e88070f80f4c5fec5f8d6b6574c234a7fae
parent3f50effdb835c1563bb4d5afb4cd0de8ce6ced68
drm/omap: increase vblank wait timeout

omap_crtc_wait_pending() waits until the config changes have been taken
into use, usually at next vblank. The wait-timeout used is 50ms, which
usually is enough, but in some rare cases not.

As time wait-timeout is just a safety measure for cases where something
is broken, we can just as well increase the timeout considerably.

This patch makes the timeout 250ms.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/omap_crtc.c