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 | eafa266c88c496aa539f46407fbdab137b86d2c7 (patch) | |
tree | 088ecab7172d57de1cf183bf8624693cab8949b0 | |
parent | c63364590d5df4837438ba69b4ba7dad66af3321 (diff) | |
download | hardware_ti_omap4xxx-eafa266c88c496aa539f46407fbdab137b86d2c7.zip hardware_ti_omap4xxx-eafa266c88c496aa539f46407fbdab137b86d2c7.tar.gz hardware_ti_omap4xxx-eafa266c88c496aa539f46407fbdab137b86d2c7.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; |