linux_dsm_epyc7002/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 drm/tilcdc: make fbdev support really optional 2016-07-18 09:11:38 +02:00
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 drm/tilcdc: Add drm bridge support for attaching drm bridge drivers 2016-11-30 14:17:52 +02:00
tilcdc_panel.c drm/tilcdc: tilcdc_panel: make of_device_ids const. 2017-10-05 11:47:10 +03:00
tilcdc_panel.h drm/tilcdc: add support for LCD panels (v5) 2013-02-19 17:57:45 -05:00
tilcdc_plane.c drm: Nuke drm_atomic_helper_plane_set_property 2017-08-08 14:45:16 +02:00
tilcdc_regs.h drm/tilcdc: Enable frame done irq and functionality for LCDC rev 1 2016-11-30 14:20:03 +02:00
tilcdc_slave_compat.c drm/tilcdc: Return directly after a failed kfree_table_init() in tilcdc_convert_slave_node() 2016-09-23 13:49:52 +03:00
tilcdc_slave_compat.dts drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_slave_compat.h drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_tfp410.c drm/tilcdc: tilcdc_tfp410: make of_device_ids const. 2017-10-05 11:47:11 +03:00
tilcdc_tfp410.h