drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu
authorKen Wang <Qingqing.Wang@amd.com>
Wed, 27 Jul 2016 11:18:01 +0000 (19:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:33:09 +0000 (11:33 -0400)
commita693e050edfe794fea81d7cfe72429a406aa380b
treeca876374b1aee2d611577f9f3b5c9141a5bf1222
parentecf6a637090c8034bc0d843c48905bfa5e2a4e0c
drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu

Signed-off-by: Ken Wang <Qingqing.Wang@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.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c