|
@@ -1112,7 +1112,7 @@ void sde_connector_helper_bridge_disable(struct drm_connector *connector)
|
|
|
/* Disable ESD thread */
|
|
|
sde_connector_schedule_status_work(connector, false);
|
|
|
|
|
|
- if (!sde_in_trusted_vm(sde_kms) && c_conn->bl_device) {
|
|
|
+ if (!sde_in_trusted_vm(sde_kms) && c_conn->bl_device && !poms_pending) {
|
|
|
c_conn->bl_device->props.power = FB_BLANK_POWERDOWN;
|
|
|
c_conn->bl_device->props.state |= BL_CORE_FBBLANK;
|
|
|
backlight_update_status(c_conn->bl_device);
|
|
@@ -1156,7 +1156,7 @@ void sde_connector_helper_bridge_enable(struct drm_connector *connector)
|
|
|
MSM_ENC_TX_COMPLETE);
|
|
|
c_conn->allow_bl_update = true;
|
|
|
|
|
|
- if (!sde_in_trusted_vm(sde_kms) && c_conn->bl_device) {
|
|
|
+ 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);
|