mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-23 15:26:50 -04:00
The current DSI mode configuration disables horizontal front porch (HFP) and back porch (HBP) transmission using MIPI_DSI_MODE_VIDEO_NO_HFP and MIPI_DSI_MODE_VIDEO_NO_HBP. However, the SN65DSI83/84 bridge relies on receiving full horizontal timing information over DSI in order to correctly reconstruct the LVDS output timings. When HFP and HBP are not transmitted, the bridge cannot recreate the required timing parameters, resulting in unstable or missing display output on some panels. The SN65DSI84 datasheet also describes transmission of complete horizontal timing information as part of the DSI video stream. Remove MIPI_DSI_MODE_VIDEO_NO_HFP and MIPI_DSI_MODE_VIDEO_NO_HBP so that HFP and HBP timing information is transmitted to the bridge. Reference: SN65DSI84 Datasheet, Section 7.4.7 (page 20): https://www.ti.com/lit/ds/symlink/sn65dsi84.pdf Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Sudarshan Shetty <tessolveupstream@gmail.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://patch.msgid.link/20260527085736.920390-2-tessolveupstream@gmail.com [Luca: cleaned up datasheet URL] Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>