drm/amdgpu: use correct rounding macro for 64-bit
authorDave Airlie <airlied@redhat.com>
Thu, 10 Jun 2021 02:59:00 +0000 (12:59 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 10 Jun 2021 03:34:08 +0000 (13:34 +1000)
commit691cf8cd7a531dbfcc29d09a23c509a86fd9b24f
treebe53bf2c52b3ce3f6c1188dcd068f1fe2885cccb
parent09b020bb05a514f560979438fa40406bc63d5353
drm/amdgpu: use correct rounding macro for 64-bit

This fixes 32-bit arm build due to lack of 64-bit divides.

Fixes: cb1c81467af3 ("drm/ttm: flip the switch for driver allocated resources v2")
Link: https://patchwork.freedesktop.org/patch/438442/
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c