linux_dsm_epyc7002/drivers/gpu/drm/amd/display/modules/power
Anthony Koo 2ad0cdf9e2 drm/amd/display: set minimum abm backlight level
[Why]
A lot of the time, the backlight characteristic curve maps min backlight
to a non-zero value.
But there are cases where we want the curve to intersect at 0.
In this scenario even if OS never asks to set 0% backlight, the ABM
reduction can result in backlight being lowered close to 0.
This particularly can cause problems in some LED drivers, and in
general just looks like backlight is completely off.

[How]
Add default cap to disallow backlight from dropping below 1%
even after ABM reduction is applied.

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>
2019-10-03 09:10:57 -05:00
..
Makefile drm/amd/display: Add missing newline at end of file 2019-06-17 11:02:03 -05:00
power_helpers.c drm/amd/display: set minimum abm backlight level 2019-10-03 09:10:57 -05:00
power_helpers.h drm/amd/display: set minimum abm backlight level 2019-10-03 09:10:57 -05:00