From: Hugo Villeneuve Date: Wed, 4 Jun 2025 14:53:06 +0000 (-0400) Subject: drm: renesas: rz-du: Implement MIPI DSI host transfers X-Git-Tag: v6.17-rc1~110^2~18^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f392f37165008cfb3f89d723aa019e372ee79b9;p=thirdparty%2Fkernel%2Fstable.git drm: renesas: rz-du: Implement MIPI DSI host transfers Add support for sending MIPI DSI command packets from the host to a peripheral. This is required for panels that need configuration before they accept video data. Also for long reads to work properly, set DCS maximum return packet size to the value of the DMA buffer size. Based on Renesas Linux kernel v5.10 repos [1]. Link: https://github.com/renesas-rz/rz_linux-cip.git Signed-off-by: Hugo Villeneuve Tested-by: Chris Brandt Reviewed-by: Biju Das Signed-off-by: Biju Das Link: https://lore.kernel.org/r/20250604145306.1170676-2-hugo@hugovil.com --- diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c b/drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c index 91e1a9adad7d..50ec109aa6ed 100644 --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c @@ -4,8 +4,11 @@ * * Copyright (C) 2022 Renesas Electronics Corporation */ + +#include #include #include +#include #include #include #include @@ -23,9 +26,12 @@ #include #include #include +#include