summaryrefslogtreecommitdiff
path: root/msm/sde/sde_connector.c
diff options
context:
space:
mode:
Diffstat (limited to 'msm/sde/sde_connector.c')
-rw-r--r--msm/sde/sde_connector.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/msm/sde/sde_connector.c b/msm/sde/sde_connector.c
index 3e869bae..6046f98b 100644
--- a/msm/sde/sde_connector.c
+++ b/msm/sde/sde_connector.c
@@ -1229,7 +1229,9 @@ void sde_connector_helper_bridge_enable(struct drm_connector *connector)
if (!sde_in_trusted_vm(sde_kms) && c_conn->bl_device && !display->poms_pending) {
c_conn->bl_device->props.power = FB_BLANK_UNBLANK;
c_conn->bl_device->props.state &= ~BL_CORE_FBBLANK;
- backlight_update_status(c_conn->bl_device);
+ // skip restoring panel brightness when panel on sequence is skipped.
+ if (!(display->panel->skip_panel_on_from_off))
+ backlight_update_status(c_conn->bl_device);
}
}