Revert "drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu"
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Nov 2016 21:55:53 +0000 (16:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Dec 2016 23:08:21 +0000 (18:08 -0500)
commit70b5c5aae57c1625b15dd2e63ecc40b8805b1ec0
tree7f6ecc3f696dc9d8721dcf9240123a472143b31e
parent197aa6ed522cc44710687d3b02dd4e4573991416
Revert "drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu"

This reverts commit a693e050edfe794fea81d7cfe72429a406aa380b.

This breaks on systems with huge amounts of system memory as we do not have
enough vram to store the page tables.  Additionally, this is less of an issue
with the recent gtt manager changes.

Reviewed-by: Christian König <christian.koenig@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_v6_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c