diff options
author | Shin-Yu Wang <shinyuw@google.com> | 2023-07-11 05:51:31 +0000 |
---|---|---|
committer | Shin-Yu Wang <shinyuw@google.com> | 2023-07-21 06:40:42 +0000 |
commit | b15ebb0c9e09c6081e2ce5ab2136114e7edf247a (patch) | |
tree | e03d22b664e7b30f938289f937ecc2269afaf3aa | |
parent | 8d0018cdba4b0eed2b79d3ec2284b37f356a4ea3 (diff) | |
download | shusky-b15ebb0c9e09c6081e2ce5ab2136114e7edf247a.tar.gz |
panel: bigsurf: set refresh_on_lp property and update AoD setting
Set refresh_on_lp property for HWC.
Enter AoD while panel recieve a frame data.
Bug: 279028102
Test: check if composer can get refresh_on_lp property
Change-Id: I7f899a906bd65fd269df5391f5afdc1923d78e74
-rw-r--r-- | display/panel-google-bigsurf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/display/panel-google-bigsurf.c b/display/panel-google-bigsurf.c index 5ed6f6a..f354717 100644 --- a/display/panel-google-bigsurf.c +++ b/display/panel-google-bigsurf.c @@ -76,7 +76,7 @@ struct bigsurf_panel { static const struct exynos_dsi_cmd bigsurf_lp_cmds[] = { /* Disable the Black insertion in AoD */ EXYNOS_DSI_CMD_SEQ(0xF0, 0x55, 0xAA, 0x52, 0x08, 0x00), - EXYNOS_DSI_CMD_SEQ(0xC0, 0x44), + EXYNOS_DSI_CMD_SEQ(0xC0, 0x54), /* disable dimming */ EXYNOS_DSI_CMD_SEQ(0x53, 0x20), @@ -1192,6 +1192,7 @@ struct exynos_panel_desc google_bigsurf = { {PANEL_REG_ID_VCI, 0}, {PANEL_REG_ID_VDDI, 0}, }, + .refresh_on_lp = true, }; static int bigsurf_panel_config(struct exynos_panel *ctx) |