Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 13
    • Issues 13
    • 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
  • drm-hwcomposer
  • drm-hwcomposer
  • Merge requests
  • !222

drm_hwcomposer: Add support for color transform matrix

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Roman Stratiienko requested to merge roman.stratiienko/drm-hwcomposer:add-ctm-support into main Jan 17, 2023
  • Overview 9
  • Commits 1
  • Pipelines 2
  • Changes 9

Depends on !221 (merged)

  1. Add and wire-up CRTC CTM property support.
  2. Add custom Android property to select behavior for cases where DRM can't handle color transform matrix.

The "vendor.hwc.drm.ctm" property can be set to:

  • DRM_OR_GPU (default) - Use GPU if CTM is not supported by DRM.
  • DRM_OR_IGNORE - Ignore CTM if DRM doesn't support it.

The last option is useful for Android 13 and later where default color transformation matrix is not an identity matrix.

At the moment I do not have any devices with CTM support, therefore I can test only DRM_OR_IGNORE option.

Edited Jan 17, 2023 by Roman Stratiienko
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: add-ctm-support