aboutsummaryrefslogtreecommitdiff
path: root/lib/once.c
diff options
context:
space:
mode:
authorHersen Wu <hersenxs.wu@amd.com>2024-03-11 18:18:34 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-04-09 21:59:29 -0400
commit8b2cb32cf0c613fd937ebb49a331798985f50826 (patch)
tree8e62dee38741b242b442d359355ed5b933b272a6 /lib/once.c
parent029faefb7302f1079173410697b0e14d2e56e19a (diff)
drm/amd/display: FEC overhead should be checked once for mst slot nums
[Why] Mst slot nums equals to pbn / pbn_div. Today, pbn_div refers to dm_mst_get_pbn_divider -> dc_link_bandwidth_kbps. In dp_link_bandwidth_kbps, which includes effect of FEC overhead already. As result, we should not include effect of FEC overhead again while calculating pbn by kpbs_to_peak_pbn (stream_kbps). [How] Include FEC overhead within dp_link_bandwidth_kbps. Remove FEC overhead from kbps_to_peak_pbn. Reviewed-by: Wayne Lin <wayne.lin@amd.com> Acked-by: Roman Li <roman.li@amd.com> Signed-off-by: Hersen Wu <hersenxs.wu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions