[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZR0UxF69rcuSpcfYR69FC-rGOakeOiUUbzJH6BWGVh=Q@mail.gmail.com>
Date: Fri, 11 Oct 2024 09:03:16 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Cong Yang <yangcong5@...qin.corp-partner.google.com>
Cc: sam@...nborg.org, neil.armstrong@...aro.org, dianders@...omium.org,
airlied@...il.com, simona@...ll.ch, dri-devel@...ts.freedesktop.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/panel: himax-hx83102: Adjust power and gamma to
optimize brightness
On Fri, Oct 11, 2024 at 4:08 AM Cong Yang
<yangcong5@...qin.corp-partner.google.com> wrote:
> The current panel brightness is only 360 nit. Adjust the power and gamma to
> optimize the panel brightness. The brightness after adjustment is 390 nit.
>
> Fixes: 3179338750d8 ("drm/panel: Support for IVO t109nw41 MIPI-DSI panel")
> Signed-off-by: Cong Yang <yangcong5@...qin.corp-partner.google.com>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
If you look in panel-samsung-s6e63m0.c you can see how that driver actually
uses a set of gamma+power (ACL) settings to regulate the "backlight",
i.e. the brightness of the OLED display. You might want to implement
something similar in your driver to actually provide the user with a
brightness setting.
It's a bit unfortunate that this is for historical reasons called "backlight"
but the usecase is definitely the same.
Yours,
Linus Walleij
Powered by blists - more mailing lists