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-11 20:22:02 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-09-27 01:16:42 +0300
commit71afd9d14f49a0a16050ada488ac1be182f5602f (patch)
tree486df3954df130cccd6aca6de1a67b3b1261cec0 /drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
parent4e772ae5f99a1595a2e064a70d2eab4946e5c08d (diff)
downloadlinux-71afd9d14f49a0a16050ada488ac1be182f5602f.tar.xz
drm/amd/display: eDP power sequence T9 fail
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, 1 insertions, 1 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 0dab5bacde3c..559a9f81c9c9 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
@@ -744,7 +744,7 @@ void dce110_link_encoder_edp_backlight_control(
return;
}
- if (!enable && !is_panel_powered_on(enc110)) {
+ if (!enable && !is_panel_backlight_on(enc110)) {
dm_logger_write(ctx->logger, LOG_HW_RESUME_S3,
"%s: panel already powered down. Do nothing.\n",
__func__);