]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: prevent command submission failures under memory pressure v2
authorChristian König <christian.koenig@amd.com>
Thu, 1 Sep 2016 10:13:18 +0000 (12:13 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Sep 2016 15:30:41 +0000 (11:30 -0400)
commit7cddc4dea67be6bccb13553172b433aa8c36e1c9
tree8881927927e64ad51de168d749dcfcec8f140e1f
parentb9d7f9dbaeb374042e869a656c0294992bcc3a5c
drm/amdgpu: prevent command submission failures under memory pressure v2

As last resort try to evict BOs from the current working set into other
memory domains. This effectively prevents command submission failures when
VM page tables have been swapped out.

v2: fix typos

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c