drm/amd/display: fix brightness level after resume from suspend
authorRoman Li <Roman.Li@amd.com>
Thu, 29 Mar 2018 14:56:17 +0000 (10:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:22 +0000 (13:43 -0500)
commitab892598d033d1943e1dcb0326f2622d6026f524
treef4419353b92f3c153ec5199b378df63056694575
parentc74db7e42d9b538d2fa582cf0efe5640b25e950d
drm/amd/display: fix brightness level after resume from suspend

Adding missing call to cache current backlight values.
Otherwise the brightness resets to default value on resume.

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc_link.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c