Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[display] Offload fbdev ioctl to the worker thread. Fixes JB#32840
In devices where kernel does follow the early suspend model, display needs to be powered up/down via fbdev ioctl calls. These can block mce mainloop for hundreds of milliseconds in critical time frame and hinder things like sensor power up. Perform the required ioctl calls asynchronously in the mce worker thread and mimic the behavior of frame buffer sleep/wake tracking that is available in early suspend kernels.
- Loading branch information
Showing
2 changed files
with
83 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters