drm/amdgpu: Remove rounding from vram allocation path
authorDaniel Phillips <daniel.phillips@amd.com>
Mon, 25 Jul 2022 15:48:00 +0000 (08:48 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Aug 2022 18:58:44 +0000 (14:58 -0400)
commitaec208eecfb833b05597bbc28696fb1ab62f732c
tree201a9e1a0d12e297c48928ace1d0570ec9121c71
parentf59966779deac642541c3f7d772a3bf5972727ed
drm/amdgpu: Remove rounding from vram allocation path

Rounding up allocations in the allocation path caused test regressions,
so now just round in the availability path.

Signed-off-by: Daniel Phillips <daniel.phillips@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c