Skip to content
Commit a7dad91d authored by Marius Vlad's avatar Marius Vlad Committed by Daniel Stone
Browse files

backend-drm: Do not create a head for invalid blacklight values



This most likely is a driver fail, as we shouldn't be getting a zero
value for max_brightness. Later on, this will be used to compute a
normalized brightness which would trip a with a division by zero.
Rather than fixing that up, just don't enable backlight support and
reportat that to the user that we have an invalid max_brightness value
and not backlight support.

Fixes: #878

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 08c7015a
Pipeline #1216074 passed with stages
in 4 minutes and 12 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment