linux/drivers/gpu/drm/tilcdc
Jyri Sarha ce99f7206c drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()
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: 11abbc9f39 ("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>
2017-10-13 15:24:21 +03:00
..
Kconfig
Makefile drm/tilcdc: fix include notation and remove -Iinclude/drm flag 2017-05-17 14:36:49 +02:00
tilcdc_crtc.c drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode() 2017-10-13 15:24:21 +03:00
tilcdc_drv.c drm/tilcdc: Use drm_gem_fb_create() 2017-09-09 18:00:58 +02:00
tilcdc_drv.h drm/tilcdc: Remove tilcdc_debugfs_cleanup() 2017-01-27 15:27:45 +01:00
tilcdc_external.c drm: convert drivers to use of_graph_get_remote_node 2017-04-06 17:00:27 -04:00
tilcdc_external.h
tilcdc_panel.c drm/tilcdc: tilcdc_panel: make of_device_ids const. 2017-10-05 11:47:10 +03:00
tilcdc_panel.h
tilcdc_plane.c drm: Nuke drm_atomic_helper_plane_set_property 2017-08-08 14:45:16 +02:00
tilcdc_regs.h
tilcdc_slave_compat.c
tilcdc_slave_compat.dts
tilcdc_slave_compat.h
tilcdc_tfp410.c drm/tilcdc: tilcdc_tfp410: make of_device_ids const. 2017-10-05 11:47:11 +03:00
tilcdc_tfp410.h