diff options
author | 2021-01-15 21:45:43 -0500 | |
---|---|---|
committer | 2021-02-02 12:09:46 -0500 | |
commit | 4fa6a75128ae8b12cdfe41938d9d2ab301285a22 (patch) | |
tree | 632a8b9bb608c4a69faa826786e375ba5304b1d1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: 3.2.120 (diff) | |
download | linux-dev-4fa6a75128ae8b12cdfe41938d9d2ab301285a22.tar.xz linux-dev-4fa6a75128ae8b12cdfe41938d9d2ab301285a22.zip |
drm/amd/display: fix calculation for the pwl backlight curve
[Why]
The PWL backlight curve is used by the firmware to convert between
brightness and linear PWM value.
Driver has a backlight LUT, but the firmware holds a PWL curve and
interpolates between points.
The calculations are incorrect leading to slightly off backlight values
being programmed.
[How]
Fix the PWL backlight curve threshold/offset calculations
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Josip Pavic <Josip.Pavic@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions