drm/amd/display: Print Pcon FRL Link BW in Debug Message
authorFangzhi Zuo <Jerry.Zuo@amd.com>
Sat, 20 Jul 2024 00:01:01 +0000 (20:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Aug 2024 15:11:01 +0000 (11:11 -0400)
Under autonomous mode, source reads dpcd DP_PCON_HDMI_POST_FRL_STATUS
for the frl link status.

Without dsc passthrough, it serves as bw bottleneck on the entire link,
compared with the dp link from source to the converter where dsc is
available.

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c

index f3b6d89..59c9dde 100644 (file)
@@ -1166,6 +1166,8 @@ static void get_active_converter_info(
                                                        link->dpcd_caps.dongle_caps.dp_hdmi_frl_max_link_bw_in_kbps = intersect_frl_link_bw_support(
                                                                        link->dpcd_caps.dongle_caps.dp_hdmi_frl_max_link_bw_in_kbps,
                                                                        hdmi_encoded_link_bw);
+                                                       DC_LOG_DC("%s: pcon frl link bw = %u\n", __func__,
+                                                               link->dpcd_caps.dongle_caps.dp_hdmi_frl_max_link_bw_in_kbps);
                                                }
 
                                                if (link->dpcd_caps.dongle_caps.dp_hdmi_frl_max_link_bw_in_kbps > 0)