am 5c65efe2: Merge "Wake up disp sync thread when setting display period" into klp-dev

* commit '5c65efe2b1d632226f02751e6b1d3cfd7c8ecb26':
  Wake up disp sync thread when setting display period
This commit is contained in:
Jesse Hall 2013-10-10 16:05:37 -07:00 committed by Android Git Automerger
commit 8c76d2a16e

View File

@ -397,6 +397,7 @@ void DispSync::setPeriod(nsecs_t period) {
Mutex::Autolock lock(mMutex); Mutex::Autolock lock(mMutex);
mPeriod = period; mPeriod = period;
mPhase = 0; mPhase = 0;
mThread->updateModel(mPeriod, mPhase);
} }
void DispSync::updateModelLocked() { void DispSync::updateModelLocked() {