drm/amd/display: DSC passthrough is for DP-HDMI pcon (SST pcon)
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Sat, 22 Apr 2023 01:20:14 +0000 (06:50 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:21:49 +0000 (09:21 -0400)
if check over DSC passthrough is removed, as this is not for
MST use case. It is for DP-HDMI pcon use case. sst pcon is
detected as sst not mst. In sst pcon dsc passthrough message
will not get below log printed

Fixes: 9b035d089086 ("drm/amd/display: Check & log if receiver supports MST, DSC & FEC.")
Suggested-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c

index 84265dc..577f74c 100644 (file)
@@ -1820,9 +1820,8 @@ static bool retrieve_link_cap(struct dc_link *link)
                                  str_yes_no(is_fec_supported));
                        DC_LOG_DC("%s: DSC_Basic_Sink_Support: %s\n", __func__,
                                  str_yes_no(is_dsc_basic_supported));
-                       if (link->dpcd_caps.is_mst_capable)
-                               DC_LOG_DC("%s: DSC_Passthrough_Sink_Support: %s\n", __func__,
-                                         str_yes_no(is_dsc_passthrough_supported));
+                       DC_LOG_DC("%s: DSC_Passthrough_Sink_Support: %s\n", __func__,
+                                 str_yes_no(is_dsc_passthrough_supported));
                }
                if (link->dpcd_caps.dongle_type != DISPLAY_DONGLE_NONE) {
                        status = core_link_read_dpcd(