From: sashiko-bot@kernel.org
To: "Qianhui Xu" <xiaqinghuan@mail.ustc.edu.cn>,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2 1/4] drm/panel: novatek-nt36536: add 40Hz and 24Hz modes for CSOT PP8807HB1-1
Date: Tue, 01 Dec 2026 10:46:03 +0000 [thread overview]
Message-ID: <sashiko-outbox-243093@kernel.org> (raw)
In-Reply-To: <20261201103915.3503057-2-xiaqinghuan@mail.ustc.edu.cn>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/panel: novatek-nt36536: 40Hz mode placed after 30Hz mode
--
commit 3c3c5affa5a859a396b05da412292d3534ba8e97
Author: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>
drm/panel: novatek-nt36536: add 40Hz and 24Hz modes for CSOT PP8807HB1-1
This commit adds 40Hz and 24Hz display mode timings to
csot_pp8807hb1_1_modes[] for the CSOT PP8807HB1-1 panel.
> diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36536.c b/drivers/gpu/drm/panel/panel-novatek-nt36536.c
> index 8bd1256501680..4d661033791b7 100644
> --- a/drivers/gpu/drm/panel/panel-novatek-nt36536.c
> +++ b/drivers/gpu/drm/panel/panel-novatek-nt36536.c
> @@ -320,6 +320,28 @@ static const struct drm_display_mode csot_pp8807hb1_1_modes[] = {
> .vsync_end = 3040 + 10226 + 4,
> .vtotal = 3040 + 10226 + 4 + 330,
> },
> + {
> + .clock = (952 + 138 + 16 + 16) * 2 * (3040 + 6826 + 4 + 330) * 40 / 1000,
> + .hdisplay = 952 * 2,
> + .hsync_start = (952 + 138) * 2,
> + .hsync_end = (952 + 138 + 16) * 2,
> + .htotal = (952 + 138 + 16 + 16) * 2,
> + .vdisplay = 3040,
> + .vsync_start = 3040 + 6826,
> + .vsync_end = 3040 + 6826 + 4,
> + .vtotal = 3040 + 6826 + 4 + 330,
> + },
[Severity: Low]
Should this 40Hz mode entry be placed before the preceding 30Hz mode entry
(with vertical front porch 10226)? Inserting it here orders the 915552 KHz
modes as 120Hz, 60Hz, 30Hz, 40Hz, 24Hz rather than from highest to lowest
refresh rate as described in the commit message.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261201103915.3503057-1-xiaqinghuan@mail.ustc.edu.cn?part=1
next prev parent reply other threads:[~2026-12-01 10:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 10:39 [PATCH v2 0/4] drm/panel: novatek-nt36536: mode additions and lifecycle fixes for CSOT PP8807HB1-1 Qianhui Xu
2026-12-01 10:39 ` [PATCH v2 1/4] drm/panel: novatek-nt36536: add 40Hz and 24Hz modes " Qianhui Xu
2026-12-01 10:46 ` sashiko-bot [this message]
2026-12-01 10:39 ` [PATCH v2 2/4] drm/panel: novatek-nt36536: finish setup before attaching DSI devices Qianhui Xu
2026-12-01 10:39 ` [PATCH v2 3/4] drm/panel: novatek-nt36536: power off on any prepare failure Qianhui Xu
2026-12-01 10:39 ` [PATCH v2 4/4] drm/panel: novatek-nt36536: reject enable when prepare failed Qianhui Xu
2026-12-01 10:47 ` 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-243093@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