diff options
author | Travis Geiselbrecht <travisg@google.com> | 2012-04-19 16:26:17 -0700 |
---|---|---|
committer | Travis Geiselbrecht <travisg@google.com> | 2012-04-20 11:30:43 -0700 |
commit | 232753097b4a1206247d49800948d3465ebd96be (patch) | |
tree | 0949a1f72506e3f48216741c1f196e8731620f3a | |
parent | ac45467fd35aaa993a11f3dac64a17616cdc7564 (diff) | |
download | hardware_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.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; |