Skip to content

Commit 71c1b53

Browse files
pwnrazronettboots
authored andcommitted
sde: Update sde bl scale on fod depress
Kang from yaap/kernel_oneplus_sm8150@b54baa0 Signed-off-by: onettboots <blackcocopet@gmail.com>
1 parent 979f7c0 commit 71c1b53

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/gpu/drm/msm/sde/sde_connector.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,9 @@ static void sde_connector_pre_update_fod_hbm(struct sde_connector *c_conn)
629629
dsi_panel_set_fod_hbm(panel, status);
630630

631631
dsi_panel_set_fod_ui(panel, status);
632+
633+
if (!status)
634+
_sde_connector_update_bl_scale(c_conn);
632635
}
633636

634637
int sde_connector_pre_kickoff(struct drm_connector *connector)

0 commit comments

Comments
 (0)