If it is the same error I had just use these edits. That is what I was talking about commenting out, in my post above.
hardware/qcom/display/libhwcomposer/hwc.cpp
Code:
//#ifndef NO_HW_VSYNC
// case HWC_EVENT_VSYNC:
// if(ioctl(m->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, &value) < 0)
// ret = -errno;
//
// if(ctx->mExtDisplay->getExternalDisplay()) {
// ret = ctx->mExtDisplay->enableHDMIVsync(value);
// }
// break;
//#endif
hardware/qcom/display/libhwcomposer/hwc_external.cpp
Code:
//#ifndef NO_HW_VSYNC
// case HWC_EVENT_VSYNC:
// if(ioctl(m->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, &value) < 0)
// ret = -errno;
//
// if(ctx->mExtDisplay->getExternalDisplay()) {
// ret = ctx->mExtDisplay->enableHDMIVsync(value);
// }
// break;
//#endif