]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4123793c3c0ac459cee12ce3415bd7e0f075cc7e
treef4419353b92f3c153ec5199b378df63056694575
parent2c97e1a310f39d8f1429d32a193c658ad93cd093
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