[PATCH 5.4 048/147] drm/amdgpu: simplify padding calculations (v2)