Drive Always-on-display wakeup events using a timerfd - #296
Open
FlorentRevest wants to merge 2 commits into
Open
Drive Always-on-display wakeup events using a timerfd#296FlorentRevest wants to merge 2 commits into
FlorentRevest wants to merge 2 commits into
Conversation
asteroid-launcher now schedules always-on-display minute tick itself with a CLOCK_REALTIME_ALARM timerfd, so timed no longer needs to emit the com.nokia.time wakeup_event signal that mce relayed back to it. Remove the patch that added that event path.
The ambient (AOD) minute tick is now driven directly from the compositor via a CLOCK_REALTIME_ALARM timerfd, and the timed "wakeup_event" patch has been dropped from timed. Nothing emits com.nokia.time/wakeup_event anymore, so mce's relay for it - mdy_dbus_timed_wakeup_sig() and its handler-table registration, both added by the ambient patch - is dead code that never fires. Remove those two additions (and the now-unreferenced forward declaration) from 0004-Ambient-mode-Adapt-low-power-mode. The rest of the ambient machinery is untouched: the set_lpm_supported / setAmbientEnabled handshake still drives the compositor's ambient mode from the use_low_power_mode setting, and the LPM brightness handling remains for the fbdev-based watches.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.