dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Fritz <chf.fritz@googlemail.com>
To: Sebastian Fleer <dev@dwurp.de>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
	Jessica Zhang <jesszhan0024@gmail.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	 Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>,
	 Simona Vetter <simona@ffwll.ch>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm/panel: kingdisplay-kd097d04: Disable EoTp
Date: Tue, 28 Oct 2025 23:31:11 +0100	[thread overview]
Message-ID: <aeee5f47ef2842fde66bc66fc598ee4f007fc1c2.camel@googlemail.com> (raw)
In-Reply-To: <20251028214045.1944956-1-dev@dwurp.de>

Hi Sebastian

On Tue, 2025-10-28 at 22:38 +0100, Sebastian Fleer wrote:
> Since commit d97e71e44937 ("drm/bridge: synopsys: dw-mipi-dsi: enable EoTp by
> default") panel output on an Acer Chromebook Tab 10 (google-dru) is corrupted.
> The tablet I use is equipped with a kingdisplay-kd097d04 panel, disabling EoTp
> restores the correct functionality.
> 
> Fixes: d97e71e44937 ("drm/bridge: synopsys: dw-mipi-dsi: enable EoTp by default")

Just to clarify: This is not a fix for that commit, it is a fix for the
panel driver itself.

EoTp is the default in Linux, a panel driver cannot enable it, only
disable it.

Commit d97e71e44937 ("drm/bridge: synopsys: dw-mipi-dsi: enable EoTp by
default") fixed a bug in the synopsys dw-mipi-dsi because EoTp was not
enabled there by default.

Enabling EoTp in dw-mipi-dsi revealed an underlying issue in panel-
kingdisplay-kd097d04.

That same issue appears if one would connect this panel to a different
mipi-dsi core (because there EoTp is also enabled by default).

> Signed-off-by: Sebastian Fleer <dev@dwurp.de>
> ---
>  drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c b/drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c
> index 2fc7b0779b37..893af9b16756 100644
> --- a/drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c
> +++ b/drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c
> @@ -359,7 +359,7 @@ static int kingdisplay_panel_probe(struct mipi_dsi_device *dsi)
>  	dsi->lanes = 4;
>  	dsi->format = MIPI_DSI_FMT_RGB888;
>  	dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
> -			  MIPI_DSI_MODE_LPM;
> +			  MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_NO_EOT_PACKET;
>  
>  	kingdisplay = devm_drm_panel_alloc(&dsi->dev, __typeof(*kingdisplay), base,
>  					   &kingdisplay_panel_funcs,

  reply	other threads:[~2025-10-28 22:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-28 21:38 [PATCH] drm/panel: kingdisplay-kd097d04: Disable EoTp Sebastian Fleer
2025-10-28 22:31 ` Christoph Fritz [this message]
2025-10-29  7:12   ` Sebastian Fleer
2025-10-29  8:15     ` Christoph Fritz
2025-10-29 11:40       ` Sebastian Fleer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aeee5f47ef2842fde66bc66fc598ee4f007fc1c2.camel@googlemail.com \
    --to=chf.fritz@googlemail.com \
    --cc=airlied@gmail.com \
    --cc=dev@dwurp.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jesszhan0024@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).