[PATCH 6.4 680/800] drm/amdgpu: fix number of fence calculations