commit | c19bd82f8b33f6cf505df0ff5027d4679fedaa3e | [log] [tgz] |
---|---|---|
author | Anthony Koo <Anthony.Koo@amd.com> | Wed Jan 30 11:05:38 2019 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Feb 19 15:58:26 2019 -0500 |
tree | f0c27ae5c3f98ee43d6bfff789dc306a740ce982 | |
parent | ce72741b53cdc70f9738c04920fefb93448f1f5e [diff] |
drm/amd/display: Increase precision for backlight curve [Why] We are currently losing precision when we convert from 16 bit --> 8 bit --> 16 bit. [How] We shouldn't down convert unnecessarily and lose precision. Keep values at 16 bit and use directly. Signed-off-by: Anthony Koo <Anthony.Koo@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>