All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "David Heidelberg" <david@ixit.cz>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 3/3] drm/panel: ebbg-ft8719: Split initialization into enable/disable fn
Date: Sun, 06 Sep 2026 13:29:49 +0000	[thread overview]
Message-ID: <20260906132950.452991F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260906-ebbg-ft8719-fixups-v1-3-4e846510cad1@ixit.cz>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Moving DCS initialization commands from `.prepare()` to `.enable()` causes them to be sent after the DSI video stream has started, breaking panel initialization on many hosts.
--

commit 894224e238d4b672a8a8f36dbdfc03846d1bec2e
Author: David Heidelberg <david@ixit.cz>

drm/panel: ebbg-ft8719: Split initialization into enable/disable fn

This commit splits the panel initialization by removing the ebbg_ft8719_on()
and ebbg_ft8719_off() calls from the prepare and unprepare callbacks, and
mapping them directly to the enable and disable callbacks.

> diff --git a/drivers/gpu/drm/panel/panel-ebbg-ft8719.c b/drivers/gpu/drm/panel/panel-ebbg-ft8719.c
> index 14982263a94f1..9965f46f1a316 100644
> --- a/drivers/gpu/drm/panel/panel-ebbg-ft8719.c
> +++ b/drivers/gpu/drm/panel/panel-ebbg-ft8719.c
> @@ -54,8 +54,9 @@ static void ebbg_ft8719_reset(struct ebbg_ft8719 *ctx)
>  	usleep_range(15000, 16000);
>  }
>  
> -static int ebbg_ft8719_on(struct ebbg_ft8719 *ctx)
> +static int ebbg_ft8719_enable(struct drm_panel *panel)
>  {
> +	struct ebbg_ft8719 *ctx = to_ebbg_ft8719(panel);
>  	struct mipi_dsi_device *dsi = ctx->dsi;
>  	struct mipi_dsi_multi_context dsi_ctx = { .dsi = dsi };

[Severity: High]
Does moving the DCS initialization commands into the panel's enable callback
cause them to be sent too late?

The DRM bridge framework calls the panel's enable callback only after calling
enable on the host controller, which typically starts the video stream.

If ebbg_ft8719_enable() now sends DCS commands like MIPI_DCS_EXIT_SLEEP_MODE
after the high-speed video stream has started, will they fail or be ignored by
the panel, breaking the display initialization?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260906-ebbg-ft8719-fixups-v1-0-4e846510cad1@ixit.cz?part=3

  reply	other threads:[~2026-09-06 13:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-06 13:19 [PATCH 0/3] Xiaomi Poco F1 (ebbg display variant) fixes David Heidelberg via B4 Relay
2026-09-06 13:19 ` David Heidelberg
2026-09-06 13:19 ` [PATCH 1/3] drm/panel: ebbg-ft8719: Set prepare_prev_first David Heidelberg via B4 Relay
2026-09-06 13:19   ` David Heidelberg
2026-09-06 16:15   ` Marco Mattiolo
2026-09-08 12:11   ` Neil Armstrong
2026-09-06 13:19 ` [PATCH 2/3] drm/panel: ebbg-ft8719: Fix the MODULE_LICENSE() string David Heidelberg via B4 Relay
2026-09-06 13:19   ` David Heidelberg
2026-09-08 12:11   ` Neil Armstrong
2026-09-06 13:19 ` [PATCH 3/3] drm/panel: ebbg-ft8719: Split initialization into enable/disable fn David Heidelberg via B4 Relay
2026-09-06 13:19   ` David Heidelberg
2026-09-06 13:29   ` sashiko-bot [this message]
2026-09-08 12:15   ` Neil Armstrong
2026-09-08 12:17     ` David Heidelberg

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=20260906132950.452991F00A3A@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=david@ixit.cz \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.