[PATCH 6.10 061/184] drm/amd/display: Fix incorrect size calculation for loop