drm/amdgpu/virt: add two functions for MM table
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Fri, 21 Apr 2017 07:40:25 +0000 (15:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:58 +0000 (17:32 -0400)
commit904cd3891dd390b109c8146974b47fca78b97c98
tree83881d9b0b0111324e8bba36a4863a2d8c127c36
parenta92f5ec0c1341466bbfe98e1abc3cf5427ba4a67
drm/amdgpu/virt: add two functions for MM table

Add two functions to allocate & free MM table memory.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h