diff options
author | Midas Chien <midaschieh@google.com> | 2022-09-19 11:03:17 +0800 |
---|---|---|
committer | Midas Chien <midaschieh@google.com> | 2022-09-19 11:03:58 +0800 |
commit | 433be03f38eb5f5f360c3cd7ac3a2d8b1797656e (patch) | |
tree | 8d88d35b4e7d72ef574bcb3a037ecf73fe103c38 | |
parent | 81193df4b393aac1143e05d7a9844fab5a91f198 (diff) | |
download | lynx-433be03f38eb5f5f360c3cd7ac3a2d8b1797656e.tar.gz |
panel: s6e3fc3-l10: move LHBM check to common control
Bug: 243179526
Test: LHBM
Signed-off-by: Midas Chien <midaschieh@google.com>
Change-Id: I6fd4f51ad8ed3c30539e5ddab05174e547d734e4
-rw-r--r-- | display/panel-samsung-s6e3fc3-l10.c | 7 | ||||
-rw-r--r-- | display/panel-samsung-s6e3fc5.c | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/display/panel-samsung-s6e3fc3-l10.c b/display/panel-samsung-s6e3fc3-l10.c index f0291e3..e554b1d 100644 --- a/display/panel-samsung-s6e3fc3-l10.c +++ b/display/panel-samsung-s6e3fc3-l10.c @@ -597,10 +597,6 @@ static void s6e3fc3_l10_set_dimming_on(struct exynos_panel *exynos_panel, static void s6e3fc3_l10_set_local_hbm_mode(struct exynos_panel *exynos_panel, bool local_hbm_en) { - if (exynos_panel->hbm.local_hbm.enabled == local_hbm_en) - return; - - exynos_panel->hbm.local_hbm.enabled = local_hbm_en; if (local_hbm_en) { EXYNOS_DCS_WRITE_TABLE(exynos_panel, test_key_on_f0); /* global para */ @@ -627,9 +623,6 @@ static void s6e3fc3_l10_set_local_hbm_mode(struct exynos_panel *exynos_panel, static void s6e3fc3_l10_mode_set(struct exynos_panel *ctx, const struct exynos_panel_mode *pmode) { - if (!ctx->enabled) - return; - s6e3fc3_l10_change_frequency(ctx, drm_mode_vrefresh(&pmode->mode)); } diff --git a/display/panel-samsung-s6e3fc5.c b/display/panel-samsung-s6e3fc5.c index acbcd0a..e3c80e2 100644 --- a/display/panel-samsung-s6e3fc5.c +++ b/display/panel-samsung-s6e3fc5.c @@ -570,7 +570,6 @@ static void s6e3fc5_set_dimming_on(struct exynos_panel *exynos_panel, static void s6e3fc5_set_local_hbm_mode(struct exynos_panel *exynos_panel, bool local_hbm_en) { - exynos_panel->hbm.local_hbm.enabled = local_hbm_en; s6e3fc5_update_wrctrld(exynos_panel); } |