mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-24 01:54:03 -04:00
[ Upstream commit 5855d422a6f250f3518f43b49092c8e87a5e42be ] Due to the initial confusion about MIPI_DSI_MODE_EOT_PACKET, properly renamed to MIPI_DSI_MODE_NO_EOT_PACKET, reflecting its actual meaning, both the DSI_TXRX_CON register setting for bit (HSTX_)DIS_EOT and the later calculation for horizontal sync-active (HSA), back (HBP) and front (HFP) porches got incorrect due to the logic being inverted. This means that a number of settings were wrong because....: - DSI_TXRX_CON register setting: bit (HSTX_)DIS_EOT should be set in order to disable the End of Transmission packet; - Horizontal Sync and Back/Front porches: The delta used to calculate all of HSA, HBP and HFP should account for the additional EOT packet. Before this change... - Bit (HSTX_)DIS_EOT was being set when EOT packet was enabled; - For HSA/HBP/HFP delta... all three were wrong, as words were added when EOT disabled, instead of when EOT packet enabled! Invert the logic around flag MIPI_DSI_MODE_NO_EOT_PACKET in the MediaTek DSI driver to fix the aforementioned issues. Fixes: |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mtk_cec.c | ||
mtk_cec.h | ||
mtk_disp_aal.c | ||
mtk_disp_ccorr.c | ||
mtk_disp_color.c | ||
mtk_disp_drv.h | ||
mtk_disp_gamma.c | ||
mtk_disp_merge.c | ||
mtk_disp_ovl.c | ||
mtk_disp_ovl_adaptor.c | ||
mtk_disp_rdma.c | ||
mtk_dp.c | ||
mtk_dp_reg.h | ||
mtk_dpi.c | ||
mtk_dpi_regs.h | ||
mtk_drm_crtc.c | ||
mtk_drm_crtc.h | ||
mtk_drm_ddp_comp.c | ||
mtk_drm_ddp_comp.h | ||
mtk_drm_drv.c | ||
mtk_drm_drv.h | ||
mtk_drm_gem.c | ||
mtk_drm_gem.h | ||
mtk_drm_plane.c | ||
mtk_drm_plane.h | ||
mtk_dsi.c | ||
mtk_ethdr.c | ||
mtk_ethdr.h | ||
mtk_hdmi.c | ||
mtk_hdmi.h | ||
mtk_hdmi_ddc.c | ||
mtk_hdmi_regs.h | ||
mtk_mdp_rdma.c | ||
mtk_mdp_rdma.h |