diff options
author | Camille Cho <camille.cho@amd.com> | 2023-11-16 16:19:25 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-01-03 10:31:52 -0500 |
commit | ee8ed2506603629f2706712a5282921a115a8da6 (patch) | |
tree | 7389889104824d120bb46e902a66ae336c1d3e84 /drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.h | |
parent | aa5dc05340eb97486a631ce6bccb8d020bf6b56b (diff) |
drm/amd/display: Correctly restore user_level
[Why]
BL1_PWM_USER_LEVEL is meant for the user brightness level setting from
OS. However, we update it along with other ABM levels to the real PWM
value which could be ABMed.
[How]
Driver to cache and restore the user brightness level setting so that
DMUB can retrieve the last user setting in ABM config initialization.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Anthony Koo <anthony.koo@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Camille Cho <camille.cho@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.h')
0 files changed, 0 insertions, 0 deletions