summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuralidhar Dixit <murali.dixit@ti.com>2012-07-23 12:24:13 -0500
committerDaniel Levin <dendy@ti.com>2012-11-28 21:16:24 +0200
commit8bc5a728d1553a4d0b97c9ec61c12a6a5bb54949 (patch)
tree9204dbaea1d025af530e0d21aad4e7d64fe831dc
parent28d6d8e955b588edaba5c255ccd8ab4a4fc600ce (diff)
downloadhardware_ti_omap4-8bc5a728d1553a4d0b97c9ec61c12a6a5bb54949.zip
hardware_ti_omap4-8bc5a728d1553a4d0b97c9ec61c12a6a5bb54949.tar.gz
hardware_ti_omap4-8bc5a728d1553a4d0b97c9ec61c12a6a5bb54949.tar.bz2
hwc: use VSYNC event from HDMI
use VSYNC event from HDMI instead of fake VSYNC support. VSYNC for HDMI is now supported in kernel. Change-Id: Ib51e28d4682249590977efac387a03822942c029 Signed-off-by: Muralidhar Dixit <murali.dixit@ti.com>
-rw-r--r--hwc/hwc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index 934639d..6bfd8a8 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -2395,12 +2395,6 @@ static int omap4_hwc_device_open(const hw_module_t* module, const char* name,
if (hwc_dev->fb_dis.channel == OMAP_DSS_CHANNEL_DIGIT) {
ALOGI("Primary display is HDMI");
hwc_dev->on_tv = 1;
- /*
- * For the moment use s/w vsync until kernel supports
- * vsync for HDMI
- */
- ALOGI("Revert to legacy HWC API for fake vsync");
- hwc_dev->base.common.version = HWC_DEVICE_API_VERSION_0_2;
} else {
hwc_dev->hdmi_fb_fd = open("/dev/graphics/fb1", O_RDWR);
if (hwc_dev->hdmi_fb_fd < 0) {