display : Enable vsync for MDP3 targets

-Enable vsync for MDP3 targets
-With this change all targets except 8x55,
 have vsync enabled

Change-Id: Ic0856359a28c730948d7d74427f6802ed89cc1b1
This commit is contained in:
Sravan Kumar D.V.N 2012-08-03 15:12:52 +05:30
parent 7c86dfe139
commit c1e7e4861a

View File

@ -213,9 +213,9 @@ 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;
//XXX: This disables hardware vsync on 7x27A, 8x25 and 8x55
// Fix when HW vsync is available on those targets
if(dev->mMDP.version < 410)
//XXX: This disables hardware vsync on 8x55
// Fix when HW vsync is available on 8x55
if(dev->mMDP.version == 400)
dev->device.common.version = 0;
else
dev->device.common.version = HWC_DEVICE_API_VERSION_0_3;