Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 123
    • Issues 123
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • 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

Merged
Created Dec 24, 2019 by Guido Gunther@guido.guntherOwner

backlight: calculate maximum brightness from allowed led current.

  • 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