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 0f825f6326aba4ead1d1c8c73b56b11c9e7f2fd7..b878fb9697d7f92b08dfa33de4d3415199de0f2d 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;