]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14f44e36b4a9f50c99289d8a29292cdf5ea4b14e
tree58920e88070f80f4c5fec5f8d6b6574c234a7fae
parent8a4299e72329bd8c7bb42f0ea151d9b8d4207158
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