[PATCH AUTOSEL 6.5 31/37] drm/amd/display: fix num_ways overflow error