summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
diff options
context:
space:
mode:
authorCharlene Liu <charlene.liu@amd.com>2017-08-09 21:03:34 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-09-27 01:16:39 +0300
commitb8e9eb7259f744fdc2e34f008e4af211ce0df19a (patch)
tree01e38c3da0334c7e79cf16294ef0f9f7ec891139 /drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
parent65111f25f1fea751f3b4321a59c993c2898b7dbf (diff)
downloadlinux-b8e9eb7259f744fdc2e34f008e4af211ce0df19a.tar.xz
drm/amd/display: fix eDP bootup/S4 backlight on
also pass-in correct dispclk tor DMCU Signed-off-by: Charlene Liu <charlene.liu@amd.com> Reviewed-by: Anthony Koo <Anthony.Koo@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
index 7e9afab8fca0..0dab5bacde3c 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
@@ -1288,6 +1288,8 @@ void dce110_link_encoder_disable_output(
/* OF_SKIP_POWER_DOWN_INACTIVE_ENCODER */
return;
}
+ if (enc110->base.connector.id == CONNECTOR_ID_EDP)
+ dce110_link_encoder_edp_backlight_control(enc, false);
/* Power-down RX and disable GPU PHY should be paired.
* Disabling PHY without powering down RX may cause
* symbol lock loss, on which we will get DP Sink interrupt. */