display: Add hook for triggering screen update

DSI command mode panels do not need to be refreshed on each
vsync. Due to one frame latency in CABL LUT calculation, when CABL is
enabled for DSI command mode panels, the LUT doesnt get updated for last
frame. Triggering an extra update for DSI command mode panels fixes it.

Change-Id: I7a22e338609430746dda4d3081ff199109a95035
This commit is contained in:
Jeykumar Sankaran
2013-02-28 10:45:56 -08:00
committed by Gerrit - the friendly Code Review server
parent db770e203f
commit 9f59a7685d
8 changed files with 57 additions and 8 deletions

View File

@@ -41,12 +41,14 @@ public:
BpQClient(const sp<IBinder>& impl)
: BpInterface<IQClient>(impl) {}
virtual void notifyCallback(uint32_t msg, uint32_t value) {
virtual status_t notifyCallback(uint32_t msg, uint32_t value) {
Parcel data, reply;
data.writeInterfaceToken(IQClient::getInterfaceDescriptor());
data.writeInt32(msg);
data.writeInt32(value);
remote()->transact(NOTIFY_CALLBACK, data, &reply);
status_t result = reply.readInt32();
return result;
}
};