提交 4c0de7de 编写于 作者: W Wyatt Wood 提交者: Alex Deucher

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: NWyatt Wood <wyatt.wood@amd.com>
Reviewed-by: NAnthony Koo <Anthony.Koo@amd.com>
Acked-by: NRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 2a28fe92
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册