[PATCH 6.1 490/591] drm/amdgpu: fix number of fence calculations