diff options
author | Amy Hsu <amyhsu@google.com> | 2022-11-09 09:39:58 +0000 |
---|---|---|
committer | Amy Hsu <amyhsu@google.com> | 2022-11-10 06:07:16 +0000 |
commit | 68cbe185380690d64e8e3804ec8ccc4b1a50755e (patch) | |
tree | bb109ac2e2d2fe05ce71e0d6e25a589e0be99ec0 | |
parent | f02297a3310f904c75eec846520c1ab4f58c035f (diff) | |
download | lynx-68cbe185380690d64e8e3804ec8ccc4b1a50755e.tar.gz |
panel:s6e3fc5 update LHBM global ratio for DVT1.1 and after.
Rearrange the LHBM brightness from 1270 to 1300 nits because SDC
improved the LHBM brightness for DVT1.1.
Bug: 253179360
Test: Verified by HW. https://screenshot.googleplex.com/C2T6BzE27rKrojA
Change-Id: Idfae41b7346d899e4347bda77c56d4732b2d0e36
Signed-off-by: Amy Hsu <amyhsu@google.com>
-rw-r--r-- | display/panel-samsung-s6e3fc5.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/display/panel-samsung-s6e3fc5.c b/display/panel-samsung-s6e3fc5.c index 4d05305..80866cc 100644 --- a/display/panel-samsung-s6e3fc5.c +++ b/display/panel-samsung-s6e3fc5.c @@ -55,6 +55,7 @@ static const u32 lhbm_990_1300_rgb_ratio[LHBM_RGB_RATIO_SIZE] = {1089563019, 106 static const u32 lhbm_1208_1300_rgb_ratio[LHBM_RGB_RATIO_SIZE] = {1029306415, 1018581722, 1029205963}; static const u32 lhbm_1280_1300_rgb_ratio[LHBM_RGB_RATIO_SIZE] = {1005012531, 1005714286, 1003953871}; static const u32 lhbm_1250_1300_rgb_ratio[LHBM_RGB_RATIO_SIZE] = {1013985465, 1011108127, 1012870314}; +static const u32 lhbm_1270_1300_rgb_ratio[LHBM_RGB_RATIO_SIZE] = {1005722353, 1004545049, 1005266073}; static const struct exynos_dsi_cmd s6e3fc5_off_cmds[] = { EXYNOS_DSI_CMD(display_off, 0), @@ -192,8 +193,10 @@ static void s6e3fc5_update_lhbm_gamma(struct exynos_panel *ctx) rgb_ratio = lhbm_1208_1300_rgb_ratio; else if (ctx->panel_rev == PANEL_REV_EVT1_1) rgb_ratio = lhbm_1280_1300_rgb_ratio; - else if (ctx->panel_rev >= PANEL_REV_DVT1) + else if (ctx->panel_rev == PANEL_REV_DVT1) rgb_ratio = lhbm_1250_1300_rgb_ratio; + else if (ctx->panel_rev >= PANEL_REV_DVT1_1) + rgb_ratio = lhbm_1270_1300_rgb_ratio; if (!rgb_ratio) return; |