From: Amy Zhang Date: Thu, 30 Mar 2017 15:39:47 +0000 (-0400) Subject: drm/amd/display: PSR Aux Channel and Static Screen Support Fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6848e9896b9c9a26a44ac6764ca4bb7351ae573e;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: PSR Aux Channel and Static Screen Support Fix - Correct the aux channel selection according to DAL3 Signed-off-by: Amy Zhang Acked-by: Harry Wentland Reviewed-by: Tony Cheng Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index 0f825f6326ab..b878fb9697d7 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -1482,8 +1482,6 @@ bool dc_link_setup_psr(const struct dc_link *dc_link, sizeof(psr_configuration.raw)); psr_context.channel = link->ddc->ddc_pin->hw_info.ddc_channel; - if (psr_context.channel == 0) - psr_context.channel = 1; psr_context.transmitterId = link->link_enc->transmitter; psr_context.engineId = link->link_enc->preferred_engine;