bdk: di: adjust OLED panel brightness curve

The Samsung AMOLED panel least legible backlight is at a high duty (45 / 255).
Change the linear curve to a more appropriate one.
This commit is contained in:
CTCaer
2021-10-15 16:16:24 +03:00
parent 6992ece762
commit 808da1bce0
2 changed files with 7 additions and 0 deletions

View File

@@ -652,6 +652,9 @@
#define DCS_CONTROL_DISPLAY_DIMMING_CTRL BIT(3)
#define DCS_CONTROL_DISPLAY_BRIGHTNESS_CTRL BIT(5)
#define PANEL_OLED_BL_COEFF 82 // 82%.
#define PANEL_OLED_BL_OFFSET 45 // Least legible backlight duty.
/* Switch Panels:
*
* 6.2" panels for Icosa and Iowa skus: