]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: change system memory overcommit limit
authorEric Huang <JinhuiEric.Huang@amd.com>
Wed, 5 Sep 2018 15:46:14 +0000 (11:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Nov 2018 19:01:54 +0000 (14:01 -0500)
commit3a1dc20f2ed3d96f894759c361de89c79e570ff5
tree44551f46cc7a22198a922e187b8e28ceb16bf1a7
parentfc1c652eced684cc38adb1d0b623a89eb34c3348
drm/amdkfd: change system memory overcommit limit

It is to improve system limit by:
1. replacing userptrlimit with a total memory limit that
conunts TTM memory usage and userptr usage.
2. counting acc size for all BOs.

Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c