summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorKai-Heng Feng <kai.heng.feng@canonical.com>2019-09-02 16:33:42 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-05 13:10:13 +0200
commit2c60da90ec4467adec602e1b81b3ca256f581031 (patch)
tree8e9c52ec7d38d36e38d4572414ff5be9df1b24d8 /lib/mpi/mpiutil.c
parent4d8bdf7f3a869e076aa8496a8ed95b81bbca54ee (diff)
drm/amd/display: Restore backlight brightness after system resume
commit bb264220d9316f6bd7c1fd84b8da398c93912931 upstream. Laptops with AMD APU doesn't restore display backlight brightness after system resume. This issue started when DC was introduced. Let's use BL_CORE_SUSPENDRESUME so the backlight core calls update_status callback after system resume to restore the backlight level. Tested on Dell Inspiron 3180 (Stoney Ridge) and Dell Latitude 5495 (Raven Ridge). Cc: <stable@vger.kernel.org> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions