From 2f1734d8a1e0aaef22da18451b3d241e24470a22 Mon Sep 17 00:00:00 2001 From: Simon1511 Date: Fri, 5 Apr 2024 12:27:42 +0200 Subject: [PATCH] sm7125: drm: msm: samsung_lego: reset finger mask state on screen off Change-Id: I943328edf0e946a988865edeb037968a45fe947f --- drivers/gpu/drm/msm/samsung_lego/ss_dsi_panel_common.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/msm/samsung_lego/ss_dsi_panel_common.c b/drivers/gpu/drm/msm/samsung_lego/ss_dsi_panel_common.c index 824d7e2a1c11..62bb71f64575 100755 --- a/drivers/gpu/drm/msm/samsung_lego/ss_dsi_panel_common.c +++ b/drivers/gpu/drm/msm/samsung_lego/ss_dsi_panel_common.c @@ -2997,6 +2997,12 @@ int ss_panel_off_post(struct samsung_display_driver_data *vdd) LCD_INFO("[DISPLAY_%d] +\n", vdd->ndx); + if (vdd->finger_mask) + vdd->finger_mask = 0; + + if (vdd->br_info.common_br.finger_mask_bl_level) + vdd->br_info.common_br.finger_mask_bl_level = 0; + if (vdd->mdnie.support_trans_dimming) vdd->mdnie.disable_trans_dimming = true;