drm/amd/display: Add user backlight level reg write

[Why]
Porting abm from dmcu to dmcub missed one register write.

[How]
Add this register write in the SetBacklightLevel sequence.

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Wyatt Wood
2020-03-30 09:11:09 -04:00
committed by Alex Deucher
parent 2a28fe9222
commit 4c0de7de4c

View File

@@ -136,6 +136,8 @@ static void dmcub_set_backlight_level(
dmub_abm_set_pipe(&dce_abm->base, otg_inst);
REG_UPDATE(BL1_PWM_USER_LEVEL, BL1_PWM_USER_LEVEL, backlight_pwm_u16_16);
if (otg_inst == 0)
frame_ramp = 0;