commit | 5576dc115d99fd9444c00012cd86d55d988e946c | [log] [tgz] |
---|---|---|
author | Ramkumar Radhakrishnan <ramkumar@codeaurora.org> | Wed Oct 08 19:20:25 2014 -0700 |
committer | Ramkumar Radhakrishnan <ramkumar@codeaurora.org> | Wed Oct 08 19:20:25 2014 -0700 |
tree | 75440e73d85593836fe5e731c7ea7f245fe833bd | |
parent | 9670a8906c064828ffe807e9a0300ed8c57eb6eb [diff] |
hwc: Acquire and Release mDrawlock properly to prevent deadlock HDMI Online and offline event, UEvent thread acquires mDrawLock and mStateLock sequentially. At the same time surfaceflinger draw thread acquires mStateLock and mDrawLock in the reverse sequence which results in deadlock condition. So release the mDrawLock immediately after modifying the hwc context variables in UEvent thread. Change-Id: I6a240294a28d8e9a9aca6f98522c7265b3cad4fa