drm/amd/display: PSR Aux Channel and Static Screen Support Fix
authorAmy Zhang <Amy.Zhang@amd.com>
Thu, 30 Mar 2017 15:39:47 +0000 (11:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:22:21 +0000 (17:22 -0400)
- Correct the aux channel selection according to DAL3

Signed-off-by: Amy Zhang <Amy.Zhang@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c

index 0f825f6..b878fb9 100644 (file)
@@ -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;