On Fri, Oct 11, 2024 at 4:08 AM Cong Yang <yangcong5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> 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