-
Jyri Sarha authored
We need the total frame refresh time to check if we are too close to vertical sync when updating the two framebuffer DMA registers and risk a collision. This new method is more accurate that the previous that based on mode's vrefresh value, which itself is inaccurate or may not even be initialized. Reported-by:
Kevin Hao <kexin.hao@windriver.com>
Fixes: 11abbc9f
("drm/tilcdc: Set framebuffer DMA address to HW only if CRTC is enabled")
Cc: <stable@vger.kernel.org> # v4.11+
Signed-off-by:
Jyri Sarha <jsarha@ti.com>
Reviewed-by:
Tomi Valkeinen <tomi.valkeinen@ti.com>ce99f720