From: Paul Hsieh Date: Fri, 8 May 2020 06:32:11 +0000 (+0800) Subject: drm/amd/display: link_status not align when power off encoder X-Git-Tag: v5.9-rc1~134^2~19^2~446 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b56e90ea335e237d47a2612983dba9e0fe24586a;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: link_status not align when power off encoder [Why] The link_status is incorrect cause driver power off eDP when backlight on. Some eDP panels may show garbage on screen. [How] Correct link_status when power off encoder Signed-off-by: Paul Hsieh Reviewed-by: Anthony Koo Acked-by: Qingqing Zhuo Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c index a475e529ae1cc..2ec5e9e1bdc6d 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c @@ -1443,6 +1443,8 @@ static void power_down_encoders(struct dc *dc) dc->links[i]->link_enc->funcs->disable_output( dc->links[i]->link_enc, signal); + + dc->links[i]->link_status.link_active = false; } }