]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Move backlight pwm enable function call
authorWyatt Wood <wyatt.wood@amd.com>
Wed, 11 Mar 2020 19:46:26 +0000 (15:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Apr 2020 18:44:44 +0000 (14:44 -0400)
commitbdd968861fa6c12c5698510a55de8584d71ca51a
tree068b1037c7bf398b405f39dfaa299bd90585058e
parentc80220c03d8d582a31bd31853176696d3402b6c6
drm/amd/display: Move backlight pwm enable function call

[Why]
Can't call dmub_abm_enable_fractional_pwm from dmub_abm_create as
dmub_srv is still null at this init stage, and therefore can't call to
fw.

[How]
Move call to dmub_abm_init_backlight. This should be the first call from
the driver for ABM.

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dmub_abm.c