Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Secondary display goes blank on Non DCN31

[Why]
Due to integration issues with branch merging,
a regression happened that prevented secondary
displays from lighting up or enabling certain features

[How]
Separated the new logic to be for DCN31 only and retained
pre DCN31 logic for all other ASICs

Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Ahmad Othman <Ahmad.Othman@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Ahmad Othman and committed by
Alex Deucher
c09bb36d d25e35bc

+2 -1
+2 -1
drivers/gpu/drm/amd/display/dc/core/dc_link.c
··· 3997 3997 config.phy_idx = link_enc->transmitter - TRANSMITTER_UNIPHY_A; 3998 3998 3999 3999 // Add flag to guard new A0 DIG mapping 4000 - if (pipe_ctx->stream->ctx->dc->enable_c20_dtm_b0 == true) { 4000 + if (pipe_ctx->stream->ctx->dc->enable_c20_dtm_b0 == true && 4001 + pipe_ctx->stream->link->dc->ctx->dce_version == DCN_VERSION_3_1) { 4001 4002 config.dig_be = link_enc->preferred_engine; 4002 4003 config.dio_output_type = pipe_ctx->stream->link->ep_type; 4003 4004 config.dio_output_idx = link_enc->transmitter - TRANSMITTER_UNIPHY_A;