]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: take dpms_off into account for edp turn off logic
authorEric Yang <Eric.Yang2@amd.com>
Fri, 11 Jan 2019 22:09:18 +0000 (17:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:37 +0000 (16:15 -0500)
commit0c522b65b04915bae0040258c3945b943e44d0e6
tree0166eb352f107796764b0b847d8e8f674ad08289
parent8635c5a784105af8b833c43bf22cbabd6e64a8f1
drm/amd/display: take dpms_off into account for edp turn off logic

[why]
Previously we incorrectly skipped backlight control when stream is
present but dpms_off = true. This causes backlight to remain on in
the we boot up or resume into a external display only configuration
where VBIOS posted on the eDP.

[How]
Add dpms_off into the condition for edp need to turn off.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c