drm/amdgpu: Fix size calculation when init onchip memory
authorxinhui pan <xinhui.pan@amd.com>
Fri, 23 Oct 2020 05:41:12 +0000 (13:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Oct 2020 19:40:46 +0000 (15:40 -0400)
commitd836917da7e5ca9b33ef4d499972f1feeb519e00
tree71ebdfaebf461583f9da2999429a355e69942b71
parent4d154b85f30e66939bbdf038ef78da5bd30a9916
drm/amdgpu: Fix size calculation when init onchip memory

Size is page count here.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c