CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2025/06/12 06:23:28

Modified files:
        sys/dev/fdt    : pwmbl.c 

Log message:
Fix the way we use the "backlight-levels" property.  The idea here
is that the levels are chosen to map hardware with non-linear
behaviour onto a linear scale.  But to do that we should expose the
array index as the scale to userland instead of the value of the
highest level.

Add support for the "num-interpolation-steps" property, which tells
us to interpolate between the levels in the "backlight-levels"
array.

ok landry@

Reply via email to