File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
drivers/gpu/drm/amd/display/amdgpu_dm Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -1835,11 +1835,15 @@ enum dc_status dm_dp_mst_is_port_support_mode(
1835
1835
if (immediate_upstream_port ) {
1836
1836
virtual_channel_bw_in_kbps = kbps_from_pbn (immediate_upstream_port -> full_pbn );
1837
1837
virtual_channel_bw_in_kbps = min (root_link_bw_in_kbps , virtual_channel_bw_in_kbps );
1838
- if (bw_range .min_kbps > virtual_channel_bw_in_kbps ) {
1839
- DRM_DEBUG_DRIVER ("MST_DSC dsc decode at last link."
1840
- "Max dsc compression can't fit into MST available bw\n" );
1841
- return DC_FAIL_BANDWIDTH_VALIDATE ;
1842
- }
1838
+ } else {
1839
+ /* For topology LCT 1 case - only one mstb*/
1840
+ virtual_channel_bw_in_kbps = root_link_bw_in_kbps ;
1841
+ }
1842
+
1843
+ if (bw_range .min_kbps > virtual_channel_bw_in_kbps ) {
1844
+ DRM_DEBUG_DRIVER ("MST_DSC dsc decode at last link."
1845
+ "Max dsc compression can't fit into MST available bw\n" );
1846
+ return DC_FAIL_BANDWIDTH_VALIDATE ;
1843
1847
}
1844
1848
}
1845
1849
You can’t perform that action at this time.
0 commit comments