From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F07AA606A31A for ; Tue, 1 Dec 2026 10:46:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=XuBZjl3Q Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 63ACB10E3A7; Tue, 1 Dec 2026 10:46:11 +0000 (UTC) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id D09B210E3A7 for ; Tue, 1 Dec 2026 10:46:04 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id CF6D760DB3; Tue, 1 Dec 2026 10:46:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71E471F00893; Tue, 1 Dec 2026 10:46:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796121963; bh=n/h8uxGq8bUoKuDRdePBQOCx6El6NPe0eyxcaDZ+5HA=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=XuBZjl3QEwu3/IdnTm4nd1fXIqYi/CCqB0dmx9v5D+psg2dH5wqusE+g/fp0j73Sq a/LUcnADSJ+KIgt0lOtKK4YYzJ3hSChacfnuypMN+2yFJTdV2z2VlhA0dn8FUEbOm2 eGOJjIeJkK78CDqSDrj/qZesQdj32NiJcVLFoW9z3DIHqgGOX+Mx1NKGK9UeDL3fZq wL7e9kv5v/97OwY4AlWaaBPVX5XqQPZ03n9S6I7LYJA4EHxG6SSNPT15Za2j/t8hxx VdKYpOBWDkrEcwHJVF/odroEwnc+2+TCJP+3bSfSNCBiRboM0iUp/pGlPfZyM8AobQ e3KmwlpKDykpg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 1/4] drm/panel: novatek-nt36536: add 40Hz and 24Hz modes for CSOT PP8807HB1-1 To: "Qianhui Xu" , dri-devel@lists.freedesktop.org In-Reply-To: <20261201103915.3503057-2-xiaqinghuan@mail.ustc.edu.cn> References: <20261201103915.3503057-1-xiaqinghuan@mail.ustc.edu.cn> <20261201103915.3503057-2-xiaqinghuan@mail.ustc.edu.cn> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 10:46:03 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "dri-devel" X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: 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 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[] =3D { > .vsync_end =3D 3040 + 10226 + 4, > .vtotal =3D 3040 + 10226 + 4 + 330, > }, > + { > + .clock =3D (952 + 138 + 16 + 16) * 2 * (3040 + 6826 + 4 + 330) * 40 / = 1000, > + .hdisplay =3D 952 * 2, > + .hsync_start =3D (952 + 138) * 2, > + .hsync_end =3D (952 + 138 + 16) * 2, > + .htotal =3D (952 + 138 + 16 + 16) * 2, > + .vdisplay =3D 3040, > + .vsync_start =3D 3040 + 6826, > + .vsync_end =3D 3040 + 6826 + 4, > + .vtotal =3D 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. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201103915.3503= 057-1-xiaqinghuan@mail.ustc.edu.cn?part=3D1