Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 134
    • Issues 134
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure 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
  • Librem5
  • linux
  • Merge requests
  • !45

backlight: calculate maximum brightness from allowed led current.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Guido Gunther requested to merge guido.gunther/linux-next:mrs/max-brightness into imx8-current-librem5 Dec 24, 2019
  • Overview 1
  • Commits 4
  • Pipelines 1
  • Changes 3

@eric.kuzmenko and myself hand calculated the maximum current so far. The hack in the driver only limited the value (so the brightness scale would be clipped of in linear mode and not be fully used in exponential mode). This changes this by a runtime calculation that then scales the brightness accordingly so the highest brightness value means maximum panel brightness.

Edited Dec 25, 2019 by Guido Gunther
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: mrs/max-brightness