DO NOT MERGE

HWC: OMAP4: disable the first frame display reset

A hack to reset the display on the first frame was put in previously
to allow for a seamless transition between the boot logo from
the bootloader to the boot animation.

In our case, the kernel/hwc has already scanned and set the proper
hdmi mode, so we dont want to bounce the panel.

Change-Id: I35a04e1cc25504685bdb71b03cee29b9c0fce1d7
diff --git a/hwc/hwc.c b/hwc/hwc.c
index d1dd1cf..e97208b 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -1563,7 +1563,11 @@
 
     pthread_mutex_lock(&hwc_dev->lock);
 
-    omap4_hwc_reset_screen(hwc_dev);
+    /* disable resetting the screen on the first boot for devices
+     * with hdmi as primary input.
+     */
+    if (!hwc_dev->on_tv)
+        omap4_hwc_reset_screen(hwc_dev);
 
     invalidate = hwc_dev->ext_ovls_wanted && !hwc_dev->ext_ovls;