summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Geiselbrecht <travisg@google.com>2012-04-19 16:26:17 -0700
committerTravis Geiselbrecht <travisg@google.com>2012-04-20 11:30:43 -0700
commit232753097b4a1206247d49800948d3465ebd96be (patch)
tree0949a1f72506e3f48216741c1f196e8731620f3a
parentac45467fd35aaa993a11f3dac64a17616cdc7564 (diff)
downloadhardware_ti_omap4-232753097b4a1206247d49800948d3465ebd96be.zip
hardware_ti_omap4-232753097b4a1206247d49800948d3465ebd96be.tar.gz
hardware_ti_omap4-232753097b4a1206247d49800948d3465ebd96be.tar.bz2
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
-rw-r--r--hwc/hwc.c6
1 files changed, 5 insertions, 1 deletions
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 @@ static int omap4_hwc_set(struct hwc_composer_device *dev, hwc_display_t dpy,
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;