aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2021-02-24 23:24:53 -0500
committerAlex Deucher <[email protected]>2021-04-20 21:49:39 -0400
commitb41896e3eeb5cfb9f906f5d72d9b9c735dc234d4 (patch)
tree1ad9ae4936067c0833a56e531f2bdb0f3b2dbb09 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parentf04c79cfba7e01db060d17c8d46f23cf8e02845a (diff)
drm/amdkfd: add svm_bo eviction mechanism support
svm_bo eviction mechanism is different from regular BOs. Every SVM_BO created contains one eviction fence and one worker item for eviction process. SVM_BOs can be attached to one or more pranges. For SVM_BO eviction mechanism, TTM will start to call enable_signal callback for every SVM_BO until VRAM space is available. Here, all the ttm_evict calls are synchronous, this guarantees that each eviction has completed and the fence has signaled before it returns. Signed-off-by: Alex Sierra <[email protected]> Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions