diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2019-09-02 16:33:42 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-03 09:10:59 -0500 |
commit | c7c5be3c892fd33b9c9ff1d4a5570b85e6deec0b (patch) | |
tree | 19c10c9570fe1d2e5b523a62241e81e6f9eee95a /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |
parent | a142ba8800dd12de1a9013477efa8ab692041ed3 (diff) |
drm/amd/display: Restore backlight brightness after system resume
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).
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
0 files changed, 0 insertions, 0 deletions