[PATCH 6.14 230/783] drm/amd/display: calculate the remain segments for all pipes