From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796332590; b=FVXeYPV43FYiOEjmSoNNmAD2GLLEAkF8v+UcjzVY+TtrZYEAXoYaiSHcelgL8eZVVeRZ pm5rdEfCJJRAsvP7mcoMz93M8EcBWRZT3nVFX6QmACpm3Nb+bF4kuAr1V3te8snnnH1Uv WvNwmKHcAFhLCfnWPXN3XA8JEqm4on3DrBtpIjQ+EwkgiU5BKK+XY/l0AlZedqIUTqwYa FlbrMLgYh/tc3fncuHuX9ucgMT7NdB8V22XYUE0DwvkHasEfWHRCt9E9upGRwO6NH3Cp/ 6e5SBjsqkbGAxFREzvwijNjY4E6BPJ/zSWZwhuDqtAiwbpg+423UxvL3nzKoLF83H/g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796332590; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=Vwc/15RVe8dHb2bTRQILQWo5bUM/7svRkSj4JwRQ2og=; b=S1qmSuhYi4wh77bRfkf1wFbl3NRo4v0s0DoME2ojpKfHnn76do7MQmxB9ecDIsgitywd HaS+32aRAS0t3uX1b9brGXrsmoMqK9mMqh/+BG0oMMju3dvzR2CZQbqyqJnJHNNSwHsQm HBqzuC9xii+kMzLNTjJ9mULQySy0qZ/8521H8wBjh4pvFFDTDChpKpHeCZKFsRBW2J+fc qPnLOzWSBnCDJE2WmSq1Hq/uxrrUVEEYpWCKq97vMR7lf5+uOQh1Y4+gwpfY+r2rSOoNa YWdXSB97x0K4u33R/YTRgZV6j05Lv5KHcIbgBoImvB/BbFWCZVqG3dgm4MR6X5Z40uA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ZBoL13Ky; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CCFB3606A683 for ; Thu, 3 Dec 2026 21:16:30 +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=ZBoL13Ky Received: by smtp.kernel.org (Postfix) with ESMTPSA id 456751F00931; Thu, 3 Dec 2026 21:16:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796332590; bh=Vwc/15RVe8dHb2bTRQILQWo5bUM/7svRkSj4JwRQ2og=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=ZBoL13Kyy5SPhQhoHq+UBcDz/MmYjz+lPK/skjSBmCr6tvmxalorcgMK16ZBYDTGq zfTSq5RnU7jHJps0Zufqe8reWF6FkmF4VimUBdah1IE0ssFCsc9gZkD+J12C3sa9zz T1JULAZMcn6bQEuq1YFi237sQmykrnbovgCVW+wi1LYoGtUfFIP9eInhHtfR4gF6vo by/btIk1P5u5Yrx8I0YG7SXVFnQJZeCkQKjPLU2txMHw48WmZTxupaOMePtnaGurdS PBIHmnXyOBziVbZxqPZVrcWQSa5mXC4xMtNEAwhzDVD13KgveYbBo9FBt7yygpgzFj XwID7ltquIywA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 3/3] drm/panel: simple: Add support for Goworld ILI6150H6 panel Reply-To: sashiko-reviews@lists.linux.dev To: "Alessandro Zini" Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261203210545.668975-4-alessandro.zini@siemens.com> References: <20261203210545.668975-1-alessandro.zini@siemens.com> <20261203210545.668975-4-alessandro.zini@siemens.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 21:16:29 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] drm/panel: simple: double-counted sync lengths in goworld_ili6150h6_timing -- commit 4246759ab6fe7c38b14e403e8515ce3d98a02e1c Author: Wang Yang drm/panel: simple: Add support for Goworld ILI6150H6 panel This commit adds display timing and panel descriptor entries for the Goworld ILI6150H6 LVDS panel to panel-simple and registers the "goworld,ili6150h6" compatible string. > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel= /panel-simple.c > index 33d954f3ee289..6d8c166d1150f 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -2543,6 +2543,36 @@ static const struct panel_desc giantplus_gpm940b0 = =3D { > .bus_flags =3D DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_POSED= GE, > }; > =20 > +static const struct display_timing goworld_ili6150h6_timing =3D { > + .pixelclock =3D { 44900000, 51200000, 63000000 }, > + .hactive =3D { 1024, 1024, 1024 }, > + .hfront_porch =3D { 16, 160, 216 }, > + .hback_porch =3D { 160, 160, 160 }, > + .hsync_len =3D { 1, 1, 140 }, > + .vactive =3D { 600, 600, 600 }, > + .vfront_porch =3D { 1, 12, 127 }, > + .vback_porch =3D { 23, 23, 23 }, > + .vsync_len =3D { 1, 3, 20 }, > + .flags =3D DISPLAY_FLAGS_DE_HIGH, > +}; [Severity: Medium] Do hback_porch and vback_porch double-count hsync_len and vsync_len here? drm_display_mode_from_videomode() adds sync length and back porch separately when computing htotal and vtotal, while the 44.9/51.2/63.0 MHz pixelclock bounds match 60 Hz only for 1200x624, 1344x635, and 1400x750 (meaning 160 and 23 already include hsync_len and vsync_len). As written, the default mode gets an odd htotal of 1345 and a vtotal of 638 (59.67 Hz instead of 60 Hz), shifting sync-to-active spacing by +1 pixel and +3 lines. Fixing hback_porch at 160 and vback_porch at 23 also causes panel_simple_parse_panel_timing_node() to reject valid devicetree panel-timing overrides with sync-exclusive back porches, while allowing out-of-spec totals up to 1540x770. Subtracting hsync_len from 160 (e.g., { 20, 159, 159 }) and vsync_len from 23 (e.g., { 3, 20, 22 }) would give the expected 1344x635 mode and accept valid overrides. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203210545.6689= 75-1-alessandro.zini@siemens.com?part=3D3