]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Disable eDP with a proper sequence.
authorYongqiang Sun <yongqiang.sun@amd.com>
Tue, 19 Dec 2017 16:51:40 +0000 (11:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:25 +0000 (14:17 -0500)
commitee0a22fff66d967e1048ba4403d87973517d8371
tree981dea0a3d69a53d66da834326d40b6c3b8b1a25
parentf560ab3493560e8ff95103fe4f070d53cef2f883
drm/amd/display: Disable eDP with a proper sequence.

Proper sequence should be:
disable backlight
dp blank
disable output
edp power off

In enable accelatate mode, all the encoder and controller
are disabled, so move disable eDP to the function is the
easiest way to implement.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h
drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h