diff options
author | 2017-11-08 15:55:44 +0100 | |
---|---|---|
committer | 2017-12-06 12:47:48 -0500 | |
commit | 6ba435812e0d85b016670ba7324d1bb1369d8428 (patch) | |
tree | 651813f7084a06df446bb5a8c3f410b976101594 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
parent | drm/amdgpu/gfx6: use cached values for raster config in clear state (diff) | |
download | wireguard-linux-6ba435812e0d85b016670ba7324d1bb1369d8428.tar.xz wireguard-linux-6ba435812e0d85b016670ba7324d1bb1369d8428.zip |
drm/ttm: optimize ttm_mem_evict_first v5
Deleted BOs with the same reservation object can be reaped even if they
can't be reserved.
v2: rebase and we still need to remove/add the BO from/to the LRU.
v3: fix remove/add one more time, cleanup the logic a bit
v4: we should still check if the eviction is valuable
v5: add comment suggested by Michel
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions