]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: work-around for omap3 display enable
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 23 Aug 2017 09:19:02 +0000 (12:19 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 23 Aug 2017 09:22:12 +0000 (12:22 +0300)
commit10b9774c91e15b9715beb82f99d5369cb0ae77ca
tree30e63d00c084397b66502dc63232cf30de73f765
parent35fee2e6892fb341acce0a6aeaca95034c2cee54
drm/omap: work-around for omap3 display enable

Seems that on omap3 enabling a crtc without any planes causes a sync
lost flood. This only happens on the first enable, and after that it
works. This looks like an HW issue and it's unclear why this is
happening or how to fix it.

This started happening after 7bb41c05eb6e35e4a09ea4ce2a32e1516030b863
("drm/omapdrm: Move commit_modeset_enables() before commit_planes()")
which, as a work-around, changed omapdrm first to do the modeset enable,
and plane set only after that. This WA should be fine on all DSS
versions, but apparently OMAP3 DSS is an exception.

This patch reverts that work-around for OMAP3 DSS.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_drv.c