Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • D drm-hwcomposer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • drm-hwcomposer
  • drm-hwcomposer
  • Merge requests
  • !71

drm_hwcomposer: Fix mixed layer composition

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Roman Stratiienko requested to merge roman.stratiienko/drm-hwcomposer:fix-mixed-order-pr into master Nov 12, 2019
  • Overview 9
  • Commits 1
  • Pipelines 5
  • Changes 1

Fix cases when mixed layer composition require non-device layer in the middle:

Layer z_order - SF type    - validated type before - validated type  
            0 - DEVICE     - CLIENT                - CLIENT  
            1 - DEVICE     - DEVICE                - CLIENT  
            2 - DEVICE     - DEVICE                - CLIENT  
            3 - SOLIDCOLOR - CLIENT                - CLIENT  
            4 - DEVICE     - DEVICE                - DEVICE  

In such composition SF will merge layers 0 and 3 and hwcomposer will merge ,1,2,4 that results incorrect merging order.

Issue was observed on the rcar3 (imagination importer), db845c and allwinner H3 (Generic importer) platforms. Reproduces with compositions that requires 'cursor' or 'dim' layers. How to reproduce:

  1. Connect USB mouse when on home screen, you should see mouse cursor under icons (Tested with Launcher3QuickStep desktop)
  2. Go to Settings -> WIFI -> Connect to the AP, then you should see password dialog under AP list.

Solution:

  1. Mark intermediate layers as CLIENT to ensure CLIENT section is in range from bottom layer to most top CLIENT layer.

  2. Use this layer composition to validate if DRM can handle it.

Edited Nov 20, 2019 by Roman Stratiienko
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-mixed-order-pr