]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ec8ec3d2aabc4b20fe87b1580186af275ef5b4f
tree7f6ecc3f696dc9d8721dcf9240123a472143b31e
parent11954097a44a4ae242d2001024ab6ac3d73dce91
Revert "drm/amdgpu: use the kernel zone memory size as the max remote memory in amdgpu"

This reverts commit 8658db04b1826d80ef70586f7484b7cc3b691cce.

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