On Wed, 14 Oct 2020 at 23:55, Geert Uytterhoeven wrote:
>
> Hi Alexandru,
>
> On Tue, Oct 13, 2020 at 1:57 PM Alexandru Stan wrote:
> > Whenever num-interpolated-steps was larger than the distance
> > between 2 consecutive brightness levels the table would get really
>
ly add 0% during interpolation",
userspace works just fine without it because it already knows how to use
bl_power for turning off the display.
- Added brightness-levels to trogdor as well, now the dts is upstream.
Alexandru Stan (3):
ARM: dts: rockchip: veyron: Remove 0 point from brightness
qually sized intervals (num-interpolated-steps sized,
as opposed to before where we were at the mercy of quantization).
END
Signed-off-by: Alexandru Stan
---
drivers/video/backlight/pwm_bl.c | 70 ++--
1 file changed, 31 insertions(+), 39 deletions(-)
diff --gi
ght: pwm_bl: Artificially add 0% during interpolation",
userspace works just fine without it because it already knows how to use
bl_power for turning off the display.
- Added brightness-levels to trogdor as well, now the dts is upstream.
Alexandru Stan (3):
backlight: pwm_bl: Fix inte
no enough points available (read: values in the table would
appear more than once). This should match the expected behavior much
more closely.
Signed-off-by: Alexandru Stan
---
drivers/video/backlight/pwm_bl.c | 70 ++--
1 file changed, 31 insertions(+), 39 deletions(-)
Some displays need the low end of the curve cropped in order to make
them happy. In that case we still want to have the 0% point, even though
anything between 0% and 5%(example) would be skipped.
Signed-off-by: Alexandru Stan
---
drivers/video/backlight/pwm_bl.c | 8
1 file changed, 8
o this conditionally because it seems some devices like to
have the scale inverted:
% git grep "brightness-levels\s*=\s*<\s*[1-9]"|cat
arch/arm/boot/dts/tegra124-apalis-eval.dts: brightness-levels =
<255 231 223 207 191 159 127 0>;
Alexandru Stan (3):
backlight:
no enough points available (read: values in the table would
appear more than once). This should match the expected behavior much
more closely.
Reviewed-by: Douglas Anderson
Reviewed-by: Matthias Kaehlcke
Signed-off-by: Alexandru Stan
---
drivers/video/backlight/pwm_bl.c | 70 ++---