drm/amdgpu: fix total size calculation
authorChristian König <christian.koenig@amd.com>
Mon, 30 Jul 2018 13:33:34 +0000 (15:33 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Jul 2018 21:58:16 +0000 (16:58 -0500)
commit275105ce7be37a2cc80eb1b60e6526355f54df94
treef314bc4bcdd7038bbf96fa83c752e4c95f6e96ae
parentba7f47831ebdad141791be53a51049d6771156cd
drm/amdgpu: fix total size calculation

long might only be 32bit in size and we can easily use more than 4GB
here.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c