]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: stop removing BOs from the LRU v3
authorChristian König <christian.koenig@amd.com>
Fri, 10 May 2019 14:09:48 +0000 (16:09 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jun 2019 16:52:19 +0000 (11:52 -0500)
commit96d9110a6bf155bc0ee2d4de13755a21bcae1368
tree4c99118d5416a5e92800c5500ed0c1a9ce9d3fed
parent875bee2941ff34dbe8c251eb7c4e334552d92073
drm/amdgpu: stop removing BOs from the LRU v3

This avoids OOM situations when we have lots of threads
submitting at the same time.

v3: apply this to the whole driver, not just CS

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Tested-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h