[PATCH] drm/panel: himax-hx83102: Adjust power and gamma to optimize brightness
Linus Walleij
linus.walleij at linaro.org
Fri Oct 11 07:03:16 UTC 2024
On Fri, Oct 11, 2024 at 4:08 AM Cong Yang
<yangcong5 at huaqin.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 at huaqin.corp-partner.google.com>
Reviewed-by: Linus Walleij <linus.walleij at linaro.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
More information about the dri-devel
mailing list