<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Yes, I just spoke with him via email. I can confirm his fix/my fix/whichever fix solves the issue on the latest 5.11 kernel.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:ezequiel@vanguardiasur.com.ar">Ezequiel Garcia</a><br>
<b>Sent: </b>Friday, February 19, 2021 10:00 AM<br>
<b>To: </b><a href="mailto:macromorgan@hotmail.com">Chris Morgan</a><br>
<b>Cc: </b><a href="mailto:tzimmermann@suse.de">tzimmermann@suse.de</a>; <a href="mailto:thierry.reding@gmail.com">
Thierry Reding</a>; <a href="mailto:sam@ravnborg.org">Sam Ravnborg</a>; <a href="mailto:airlied@linux.ie">
David Airlie</a>; <a href="mailto:daniel@ffwll.ch">Daniel Vetter</a>; <a href="mailto:dri-devel@lists.freedesktop.org">
dri-devel</a>; <a href="mailto:heiko@sntech.de">Heiko Stuebner</a><br>
<b>Subject: </b>Re: [PATCH] drm/panel: elida-kd35t133: allow using non-continuous dsi clock</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">On Fri, 19 Feb 2021 at 00:14, Chris Morgan <macromorgan@hotmail.com> wrote:<br>
><br>
> This fixes an issue with the panel not working after<br>
> commit c6d94e37bdbb ("drm/bridge/synopsys: dsi: add support for non-continuous HS clock").<br>
> With this change the panel inits successfully and displays an image.<br>
><br>
> Signed-off-by: Chris Morgan <macromorgan@hotmail.com><br>
> ---<br>
> drivers/gpu/drm/panel/panel-elida-kd35t133.c | 3 ++-<br>
> 1 file changed, 2 insertions(+), 1 deletion(-)<br>
><br>
> diff --git a/drivers/gpu/drm/panel/panel-elida-kd35t133.c b/drivers/gpu/drm/panel/panel-elida-kd35t133.c<br>
> index bc36aa3c1123..fe5ac3ef9018 100644<br>
> --- a/drivers/gpu/drm/panel/panel-elida-kd35t133.c<br>
> +++ b/drivers/gpu/drm/panel/panel-elida-kd35t133.c<br>
> @@ -265,7 +265,8 @@ static int kd35t133_probe(struct mipi_dsi_device *dsi)<br>
> dsi->lanes = 1;<br>
> dsi->format = MIPI_DSI_FMT_RGB888;<br>
> dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |<br>
> - MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET;<br>
> + MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET |<br>
> + MIPI_DSI_CLOCK_NON_CONTINUOUS;<br>
><br>
> drm_panel_init(&ctx->panel, &dsi->dev, &kd35t133_funcs,<br>
> DRM_MODE_CONNECTOR_DSI);<br>
> --<br>
> 2.25.1<br>
><br>
<br>
I kindly appreciate you taking the time to debug this one.<br>
It looks good, but also seems like Heiko already sent the same fix:<br>
<br>
<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.spinics.net%2Flists%2Fkernel%2Fmsg3824932.html&data=04%7C01%7C%7Cbdecc3cd75554c2ad3bb08d8d4ef7324%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637493472196595230%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oBQtE63GEcbqIPxEtO%2BotZEaUnwrRD52OynUoBB%2FNp4%3D&reserved=0">https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.spinics.net%2Flists%2Fkernel%2Fmsg3824932.html&data=04%7C01%7C%7Cbdecc3cd75554c2ad3bb08d8d4ef7324%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637493472196595230%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oBQtE63GEcbqIPxEtO%2BotZEaUnwrRD52OynUoBB%2FNp4%3D&reserved=0</a><br>
<br>
Thanks,<br>
Eze<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>