[PORT FROM R2] Boot Anim : patch from Lei & Tim for R2
authorgeoffroyx.weisenhorn <geoffroyx.weisenhorn@intel.com>
Fri, 27 Jan 2012 10:21:44 +0000 (11:21 +0100)
committerbuildbot <buildbot@intel.com>
Mon, 30 Jan 2012 19:55:54 +0000 (11:55 -0800)
BZ: 16563

Reworked patch when porting to R3

Change-Id: I6b5c4b4ca5d66601ed7e1c7d6b7574467227be6c
Borqs-Id: b710666d19df4f91ba97fd1f8a49054e9cc97f00
Borqs-Contact: Celine Chotard <celine.chotard@intel.com>
Gerrit-Id: I4ddb4ede55fe7f26a96ed9fdc23528abe7267d5a
Orig-Change-Id: Idf0556df3e029dc62026cfe497d0787cd0c75583
Reviewed-on: http://android.intel.com:8080/33073
Reviewed-by: Chotard, Celine <celine.chotard@intel.com>
Tested-by: Chotard, Celine <celine.chotard@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/staging/mrst/drv/mdfld_dsi_dpi.c

index 393df40..74c71f5 100755 (executable)
@@ -1571,6 +1571,10 @@ static int __mdfld_dsi_dpi_set_power(struct drm_encoder *encoder, bool on)
                        let panel in full color*/
                mdfld_dsi_dpi_set_color_mode(dsi_config, false);
        } else if (!on && dsi_config->dsi_hw_context.panel_on) {
+               if (dpi_output->first_boot) {
+                       pr_debug("DPMS OFF first boot!\n");
+                       goto set_power_err;
+               }
                /*Just turn off panel for WiDi Extended Mode.*/
                if (!dev_priv->drm_psb_widi) {
                        if (__dpi_panel_power_off(dsi_config, p_funcs)) {