1. 04 Feb, 2020 6 commits
  2. 30 Jan, 2020 4 commits
  3. 10 Jan, 2020 2 commits
  4. 25 Oct, 2019 2 commits
  5. 24 Oct, 2019 3 commits
    • spiiroin's avatar
      [fingerprint] Use gesture actions for fingerprint wake up. Fixes JB#47437 · 64e71c69
      spiiroin authored
      Originally fingerprint wake up was modeled to:
      - wake up display like double tap does
      - exit from lockscreen when device is not locked, or
      - indicate need to unlock when device is locked
      i.e. behave as if double power key press were made.
      This however means that fingerprint wake up never ends up showing
      lockscreen where things like date and time would be visible.
      Switch from handling fingerprint wake up as something explicit into
      treating it as just another gesture with configurable actions.
      Add "tkunlock2" gesture action, which behaves like "tkunlock" when
      device is unlocked and does nothing when device is locked.
      After which users can tweak fingerprint behavior with mcetool.
      mcetool --set-touchscreen-gesture-actions=fpwakeup,unblank,tkunlock
        The default behavior.
      mcetool --set-touchscreen-gesture-actions=fpwakeup,unblank,tkunlock2
        Exits from lockscreen only if device is not locked.
      mcetool --set-touchscreen-gesture-actions=fpwakeup,unblank
        Just wakes up display, leaving lockscreen status as it is.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    • spiiroin's avatar
      Bump mce version to 1.104.2 · 2b5a8281
      spiiroin authored
    • spiiroin's avatar
      Merge branch 'jb47846_compositor_exit' into 'master' · 514186a6
      spiiroin authored
      Handle compositor exit during setUpdatesEnabled D-Bus method call
      See merge request !130
  6. 23 Oct, 2019 1 commit
    • spiiroin's avatar
      [display] Handle compositor exit during setUpdatesEnabled call. JB#47846 · f2f8b1a3
      spiiroin authored
      Once mce has issued a setUpdatesEnabled method call, it expects to get a
      reply even if compositor service drops from SystemBus. While the situation
      does self correct when a fresh compositor instance shows up, hiccups like
      unwarranted ipc panic led pattern triggering can occur before that.
      Explicitly wake up display state machine also when compositor service
      drops from system bus.
      Do not treat compositor service stopped state as "ipc pending".
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
  7. 17 Oct, 2019 2 commits
  8. 16 Oct, 2019 1 commit
    • spiiroin's avatar
      [display] Retry failing brightness adjustments. Fixes JB#47450 · 2783a90d
      spiiroin authored
      Display brightness control logic has been written with framebuffer
      interface in mind and consequently devices utilizing drm/dri are
      suffering from diagnostic logging noise from incorrectly timed
      adjustment attempts and outright failures to set desired brightness.
      Store desired and successfully activated brightness levels separately
      to ease adjustment failure handling and avoiding unwanted brightness
      pumping for example during compositor switchovers.
      Adjust display state machine so that it performs brightness level
      checkups during unblank also in states relevant for drm/dri logic.
      If brightness adjustment fails after unblank, retry periodically.
      Reduce amount of repetitive diagnostic noise caused by differing
      timing requirements between framebuffer and drm/dri interfaces.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
  9. 08 Oct, 2019 2 commits
  10. 07 Oct, 2019 1 commit
  11. 12 Sep, 2019 5 commits
    • spiiroin's avatar
      Bump mce version to 1.103.0 · b32e355a
      spiiroin authored
    • spiiroin's avatar
      Merge branch 'jb46746_compositor_linger' into 'master' · c6671849
      spiiroin authored
      Add wait state to compositor switchover
      See merge request mer-core/mce!127
    • spiiroin's avatar
      [mce-hybris] Enablers for masking hybris plugin features. JB#46746 · e0d23627
      spiiroin authored
      In some cases functionality from mce-plugin-libhybris that works and
      is needed in some devices can cause problems in other devices - for
      example using android hwc2 interface for display blank/unblank purposes
      can interfere with minui based unlock/upgrade UIs on devices that use
      kms/drm instead of legacy frame buffer.
      Make it possible to use configuration files for enabling / disabling
      features implemented in the hybris plugin.
      Keep all features enabled by default.
      Install configuration file that keeps enabled those features that actually
      might be used by mce and disables the rest.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    • spiiroin's avatar
      [dummy_compositor] Add exit-on-enable option. JB#46746 · 0a04373c
      spiiroin authored
      Dummy compositor exits when it manages to reserve compositor D-Bus name.
      Logic wise this means that the previous compositor process knows that it
      should exit, but might not have done so yet and still retain some non-
      shareable resources.
      As mce now waits for previous compositor instance to exit before granting
      the current one permission to draw, getting a setUpdatesEnabled(true)
      method call can be assumed to mean that all resources obtained by the
      previous compositor have been released.
      Add --exit-on-enable option that modifies dummy compositor behavior so
      that it exits on setUpdatesEnabled(true) method call rather than
      NameAcquired signal.
      Also add option for releasing name before exiting - which is mainly
      interesting for purposes of testing/debugging mce side state logic.
      Update usage information so that it covers all supported options.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    • spiiroin's avatar
      [display] Add wait state to compositor switchover. JB#46746 · d42285d6
      spiiroin authored
      While ownership of well known compositor D-Bus name acts logically
      as mutual exclusion lock that allows only one compositor instance,
      timing wise name ownership change does not mean that underlying
      resources used by previous compositor instance would already be
      available for the current one - which can lead to resource allocation
      failures and crashes for example when switching from one minui
      based ui (unlock ui) to another one (upgrade ui).
      Allow previous compositor instance up to five seconds to exit before
      giving the current one permission to draw.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
  12. 11 Sep, 2019 4 commits
  13. 10 Sep, 2019 1 commit
    • spiiroin's avatar
      [display] Trigger extra blanking delay during bootup. Fixes JB#47170 · 04d806cf
      spiiroin authored
      Originally init_done was tracked as a boolean true/false value. Later on
      it was changed into a unknown/true/false tristate value. While making
      these changes, the triggering condition for extra blanking delay used
      immediately after bootup got broken in a way that did not manifest
      itself for a long time.
      Instead of waiting for init done before triggering extra blank delay,
      disable the extra delay altogether if mce has been (re)started after
      init done.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
  14. 28 Aug, 2019 3 commits
  15. 08 Aug, 2019 3 commits