]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit13116cf824e0c8485c5a5bac2dda4d4f2a17b315
tree201a9e1a0d12e297c48928ace1d0570ec9121c71
parentb62a63a1d635bf0037294c5aa8b16e6b47c35d2a
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