aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-09-01 06:13:18 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-09-02 11:30:41 -0400
commit662bfa61fff1de4dd96029d556d7b301e27c3556 (patch)
tree8881927927e64ad51de168d749dcfcec8f140e1f /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent1abdc3d73dd9dc2f3dc619d466d378e70cbcc24a (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 2cfaa6429c64..39baabe5f092 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1225,6 +1225,7 @@ struct amdgpu_cs_parser {
1225 struct fence *fence; 1225 struct fence *fence;
1226 uint64_t bytes_moved_threshold; 1226 uint64_t bytes_moved_threshold;
1227 uint64_t bytes_moved; 1227 uint64_t bytes_moved;
1228 struct amdgpu_bo_list_entry *evictable;
1228 1229
1229 /* user fence */ 1230 /* user fence */
1230 struct amdgpu_bo_list_entry uf_entry; 1231 struct amdgpu_bo_list_entry uf_entry;