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 226B8606A31A for ; Tue, 1 Dec 2026 09:20:55 +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=Ddo+i5YW Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8893710F6C0; Tue, 1 Dec 2026 09:20:49 +0000 (UTC) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id EFB4A10F6C0 for ; Tue, 1 Dec 2026 09:20:43 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 5A34E60EE8; Tue, 1 Dec 2026 09:20:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FF9D1F000C1; Tue, 1 Dec 2026 09:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796116842; bh=EtBruqRxr/7ITOUaIODIgdNY6EAobcTVpx3zMh8vgOU=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=Ddo+i5YWaxYUrMOZkMryCrB4nYeM9xpLKLvojJh64vLbM4Kd3i6yKCKTqmuBulmWK owpTuNJPOexqQbdEF3y4jcWt1BZIol9+SUez0L9ZEvABrqdJ42e9MXa8cROpHyeqeY Ct8yZpY/73W8S4JtkZAOd0pVHpcwL7dfdyFtfiIttWFc/stc+0OvMUhIdi5X2cb+++ NSFiXKE0mM8Cu2P+QzKMGFoBhenZvHyDnPboE8PhlkY3dVfsjzM5dG/QmOswZw09y5 C9hcnpEg7pRMSgcYNJXVKki7sbFcaaP7Ev7seXtLAQVPGcOSnF8zN2wG4TNGlhtrm8 GrDO/xaik2CNQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 3/4] drm/panel: novatek-nt36536: power off on any prepare failure To: "Qianhui Xu" , dri-devel@lists.freedesktop.org In-Reply-To: <20261201091454.153619-4-xiaqinghuan@mail.ustc.edu.cn> References: <20261201091454.153619-1-xiaqinghuan@mail.ustc.edu.cn> <20261201091454.153619-4-xiaqinghuan@mail.ustc.edu.cn> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 09:20:42 +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_CR_TRAILER,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: missing Fixes: trailer for novatek_prepare() fix -- commit 7027b4a69fa12b5bdef6196196575c644883b906 Author: Qianhui Xu > 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 [Severity: Low] This fixes error handling in novatek_prepare(). Should this include: Fixes: 75a5dbd1f4f7 ("drm/panel: Add Novatek NT36536 panel driver") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201091454.1536= 19-1-xiaqinghuan@mail.ustc.edu.cn?part=3D3