]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Allow TTM to evict svm bo from same process
authorPhilip Yang <Philip.Yang@amd.com>
Fri, 22 Jul 2022 19:07:00 +0000 (15:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jul 2022 20:05:14 +0000 (16:05 -0400)
commitb57a1a2b5a48498b15714204a389530e5f6c9008
tree7f5ae88a13193e2a0003ad427619a68bc896046d
parentb91137faf45f6a42a129163f77ede012eea35d77
drm/amdgpu: Allow TTM to evict svm bo from same process

To support SVM range VRAM overcommitment, TTM should be able to evict
svm bo of same process to system memory, to get space to alloc new svm
bo.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c