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>
Wed, 11 Apr 2018 18:17:25 +0000 (13:17 -0500)
commitc3d7bad88e3b35b981eecc1645ddbb3f13a8b54f
tree053d8807545dd0e5ea0bb4f97e875e8cd7ae56fa
parentaf2ac326087da632e9580f65205f4cc4205caf85
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