]> git.baikalelectronics.ru Git - kernel.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)
commit8a28dd2510cb30d76127567ac0e1e392afdcf942
tree0166eb352f107796764b0b847d8e8f674ad08289
parentdb4db305a69de09070c4e3e6c6ec107ed0a6431e
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