dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Qianhui Xu" <xiaqinghuan@mail.ustc.edu.cn>,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 3/4] drm/panel: novatek-nt36536: power off on any prepare failure
Date: Tue, 01 Dec 2026 09:20:42 +0000	[thread overview]
Message-ID: <sashiko-outbox-242961@kernel.org> (raw)
In-Reply-To: <20261201091454.153619-4-xiaqinghuan@mail.ustc.edu.cn>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/panel: novatek-nt36536: missing Fixes: trailer for
  novatek_prepare() fix
--

commit 7027b4a69fa12b5bdef6196196575c644883b906
Author: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>

> drm/panel: novatek-nt36536: power off on any prepare failure
>
> prepare() only undid the power-up when the initialisation sequence
> failed. Failures of the picture parameter set, the compression mode
> commands or the backlight enable were ignored, leaving the panel powered
> with a wrong state and -- for the backlight -- with the error swallowed.
>
> Use a single power_off label for all error paths and also check
> dsi_ctx.accum_err after the batched MIPI writes, as those helpers only
> record their error there.
>
> Signed-off-by: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>

[Severity: Low]
This fixes error handling in novatek_prepare().  Should this include:

  Fixes: 75a5dbd1f4f7 ("drm/panel: Add Novatek NT36536 panel driver")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261201091454.153619-1-xiaqinghuan@mail.ustc.edu.cn?part=3

  reply	other threads:[~2026-12-01  9:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  9:14 [PATCH 0/4] drm/panel: novatek-nt36536: mode additions and lifecycle fixes for CSOT PP8807HB1-1 Qianhui Xu
2026-12-01  9:14 ` [PATCH 1/4] drm/panel: novatek-nt36536: add 40Hz and 24Hz modes " Qianhui Xu
2026-12-01  9:14 ` [PATCH 2/4] drm/panel: novatek-nt36536: finish setup before attaching DSI devices Qianhui Xu
2026-12-01  9:22   ` sashiko-bot
2026-12-01  9:14 ` [PATCH 3/4] drm/panel: novatek-nt36536: power off on any prepare failure Qianhui Xu
2026-12-01  9:20   ` sashiko-bot [this message]
2026-12-01  9:14 ` [PATCH 4/4] drm/panel: novatek-nt36536: reject enable when prepare failed Qianhui Xu
2026-12-01  9:23   ` sashiko-bot

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=sashiko-outbox-242961@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=xiaqinghuan@mail.ustc.edu.cn \
    /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