summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-01-06 18:31:26 -0800
committerMathias Agopian <mathias@google.com>2012-01-24 11:05:15 -0800
commit4a24fadd7b7897bd08e6e7a649e8b9b50263937b (patch)
tree4bc3b32cf96cd3c15b792ffc1efd3efc0f8cd7eb
parent10fd09546999901abb157ed455656bea6b0e7197 (diff)
downloadhardware_ti_omap4-4a24fadd7b7897bd08e6e7a649e8b9b50263937b.zip
hardware_ti_omap4-4a24fadd7b7897bd08e6e7a649e8b9b50263937b.tar.gz
hardware_ti_omap4-4a24fadd7b7897bd08e6e7a649e8b9b50263937b.tar.bz2
don't vsync after swap since SF now is vsync'ed
Change-Id: I2e0636c3a386203e0aaee8c97b1affa4ee96f699
-rw-r--r--hwc/hwc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index ab4ce39..4ac3817 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -1459,15 +1459,6 @@ static int omap4_hwc_set(struct hwc_composer_device *dev, hwc_display_t dpy,
hwc_dev->buffers,
hwc_dev->post2_layers,
dsscomp, sizeof(*dsscomp));
-
- if (!hwc_dev->use_sgx) {
- __u32 crt = 0;
- int err2 = ioctl(hwc_dev->fb_fd, FBIO_WAITFORVSYNC, &crt);
- if (err2) {
- ALOGE("failed to wait for vsync (%d)", errno);
- err = err ? : -errno;
- }
- }
}
hwc_dev->last_ext_ovls = hwc_dev->ext_ovls;
hwc_dev->last_int_ovls = hwc_dev->post2_layers;