diff --git a/libhwcomposer/hwc.cpp b/libhwcomposer/hwc.cpp index ad0000c..442f8f6 100644 --- a/libhwcomposer/hwc.cpp +++ b/libhwcomposer/hwc.cpp @@ -204,7 +204,12 @@ static int hwc_device_open(const struct hw_module_t* module, const char* name, methods->eventControl = hwc_eventControl; dev->device.common.tag = HARDWARE_DEVICE_TAG; - dev->device.common.version = HWC_DEVICE_API_VERSION_0_3; + //XXX: This disables hardware vsync on 7x27A, 8x25 and 8x55 + // Fix when HW vsync is available on those targets + if(dev->mMDP.version < 410) + dev->device.common.version = 0; + else + dev->device.common.version = HWC_DEVICE_API_VERSION_0_3; dev->device.common.module = const_cast(module); dev->device.common.close = hwc_device_close; dev->device.prepare = hwc_prepare;