drm/amd/display: make sure BL off to mainlink off has enough time
authorCharlene Liu <charlene.liu@amd.com>
Wed, 20 Sep 2017 18:06:24 +0000 (14:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:42:18 +0000 (16:42 -0400)
Signed-off-by: Charlene Liu <charlene.liu@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/dce110/dce110_hw_sequencer.c

index 9fc43bc..f28fce6 100644 (file)
@@ -819,13 +819,6 @@ void hwss_blacklight_control(
                return;
        }
 
-       if (!enable && !is_panel_backlight_on(hws)) {
-               dm_logger_write(ctx->logger, LOG_HW_RESUME_S3,
-                               "%s: panel already powered down. Do nothing.\n",
-                               __func__);
-               return;
-       }
-
        /* Send VBIOS command to control eDP panel backlight */
 
        dm_logger_write(ctx->logger, LOG_HW_RESUME_S3,