[PATCH 3/3] drm/stm: dsi: provide the implementation of mode_valid()

Philippe CORNU philippe.cornu at foss.st.com
Tue Jan 4 11:01:37 UTC 2022



On 12/18/21 10:50 PM, Antonio Borneo wrote:
> The dsi has several constraints on the video modes it can support,
> mainly due to the frequencies that can be generated by the PLL
> integrated in the DSI device.
> 
> Verify that the required HS clock can be generated by the PLL.
> 
> The dsi clock from the dsi PLL and the ltdc pixel clock are
> asynchronous. The dsi needs to return in LP mode during HFP or HBP
> to re-synchronize at each video line.
> 
> Verify that the duration of HFP and HBP allows the dsi to enter in
> LP mode.
> 
> Signed-off-by: Antonio Borneo <antonio.borneo at foss.st.com>
> ---
> To: David Airlie <airlied at linux.ie>
> To: Daniel Vetter <daniel at ffwll.ch>
> To: Andrzej Hajda <a.hajda at samsung.com>
> To: Neil Armstrong <narmstrong at baylibre.com>
> To: Robert Foss <robert.foss at linaro.org>
> To: Laurent Pinchart <Laurent.pinchart at ideasonboard.com>
> To: Jonas Karlman <jonas at kwiboo.se>
> To: Jernej Skrabec <jernej.skrabec at gmail.com>
> To: Yannick Fertre <yannick.fertre at foss.st.com>
> To: Philippe Cornu <philippe.cornu at foss.st.com>
> To: Benjamin Gaignard <benjamin.gaignard at linaro.org>
> To: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
> To: Alexandre Torgue <alexandre.torgue at foss.st.com>
> To: Philipp Zabel <p.zabel at pengutronix.de>
> To: dri-devel at lists.freedesktop.org
> To: linux-stm32 at st-md-mailman.stormreply.com
> To: linux-arm-kernel at lists.infradead.org
> Cc: linux-kernel at vger.kernel.org
> ---
>   drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 98 +++++++++++++++++++++++++++
>   1 file changed, 98 insertions(+)

Hi Antonio,
many thanks for your patch.
Nice improvement for better filtering supported modes...
Acked-by: Philippe Cornu <philippe.cornu at foss.st.com>
Reviewed-by: Philippe Cornu <philippe.cornu at foss.st.com>
Philippe :-)


More information about the dri-devel mailing list