]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5d839c4b8a642a965c62dff4be1631d54df4562
tree71ebdfaebf461583f9da2999429a355e69942b71
parent2c957b0cad34986f8217a50b323806f2c80d4480
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