[PATCH 6.12 194/626] drm/amd/display: calculate the remain segments for all pipes