From: Neil Armstrong <neil.armstrong@linaro.org>
To: david@ixit.cz, Abel Vesa <abelvesa@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Casey Connolly <casey.connolly@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
David Airlie <airlied@gmail.com>,
Dmitry Baryshkov <lumag@kernel.org>,
Jessica Zhang <jesszhan0024@gmail.com>,
Konrad Dybcio <konradybcio@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Marijn Suijten <marijn.suijten@somainline.org>,
Maxime Ripard <mripard@kernel.org>, Rob Herring <robh@kernel.org>,
Simona Vetter <simona@ffwll.ch>,
Sumit Semwal <sumit.semwal@linaro.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Vinod Koul <vkoul@kernel.org>
Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
phone-devel@vger.kernel.org
Subject: Re: [PATCH v3 1/5] drm/panel: lg-sw43408: use the full DCS brightness range
Date: Wed, 25 Nov 2026 16:39:57 +0100 [thread overview]
Message-ID: <8a9a4fe1-0fa5-4c48-aa88-f61b3a01739f@linaro.org> (raw)
In-Reply-To: <20261125-fix-blueline-panel-v3-1-914b4a30b73e@ixit.cz>
On 11/25/26 14:08, David Heidelberg via B4 Relay wrote:
> From: David Heidelberg <david@ixit.cz>
>
> The vendor changed the value multiple times. Last value for production
> devices was 900. HBM can go up to 1023, but keep value safe for now.
>
> Fixes: 069a6c0e94f9 ("drm: panel: Add LG sw43408 panel driver")
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
> drivers/gpu/drm/panel/panel-lg-sw43408.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/panel/panel-lg-sw43408.c b/drivers/gpu/drm/panel/panel-lg-sw43408.c
> index 822318f546ef3..92cab6478ea61 100644
> --- a/drivers/gpu/drm/panel/panel-lg-sw43408.c
> +++ b/drivers/gpu/drm/panel/panel-lg-sw43408.c
> @@ -197,17 +197,18 @@ static const struct backlight_ops sw43408_backlight_ops = {
> };
>
> static int sw43408_backlight_init(struct sw43408_panel *ctx)
> {
> struct device *dev = &ctx->link->dev;
> const struct backlight_properties props = {
> .type = BACKLIGHT_PLATFORM,
> .brightness = 255,
> - .max_brightness = 255,
> + /* HBM can go up to 1023, stay safe for now */
> + .max_brightness = 900,
> };
>
> ctx->base.backlight = devm_backlight_device_register(dev, dev_name(dev), dev,
> ctx->link,
> &sw43408_backlight_ops,
> &props);
>
> if (IS_ERR(ctx->base.backlight))
>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Thanks,
Neil
next prev parent reply other threads:[~2026-11-25 15:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 13:08 [PATCH v3 0/5] Pixel 3 display fixes David Heidelberg via B4 Relay
2026-11-25 13:08 ` [PATCH v3 1/5] drm/panel: lg-sw43408: use the full DCS brightness range David Heidelberg via B4 Relay
2026-11-25 15:39 ` Neil Armstrong [this message]
2026-11-25 13:08 ` [PATCH v3 2/5] drm/panel: lg-sw43408: skip backlight updates when unprepared David Heidelberg via B4 Relay
2026-11-25 18:49 ` Neil Armstrong
2026-11-25 13:08 ` [PATCH v3 3/5] drm/panel: lg-sw43408: split enable/disable from prepare/unprepare David Heidelberg via B4 Relay
2026-12-03 10:35 ` Neil Armstrong
2026-11-25 13:08 ` [PATCH v3 4/5] drm/panel: lg-sw43408: keep VPNL paired with VDDI and reset deasserted David Heidelberg via B4 Relay
2026-11-25 13:08 ` [PATCH v3 5/5] arm64: dts: qcom: sdm845-google: drop panel regulator-always-on David Heidelberg via B4 Relay
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=8a9a4fe1-0fa5-4c48-aa88-f61b3a01739f@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=abelvesa@kernel.org \
--cc=airlied@gmail.com \
--cc=andersson@kernel.org \
--cc=casey.connolly@linaro.org \
--cc=conor+dt@kernel.org \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jesszhan0024@gmail.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marijn.suijten@somainline.org \
--cc=mripard@kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=sumit.semwal@linaro.org \
--cc=tzimmermann@suse.de \
--cc=vkoul@kernel.org \
/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
all inboxes | Powered by JetHome®