summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
diff options
context:
space:
mode:
authorAlex Sierra <alex.sierra@amd.com>2020-07-28 16:04:41 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-04-20 21:49:49 -0400
commit5f319c5c21b5909abb43d8aadc92a8aa549ee443 (patch)
tree329ca81d55cad12a734f475d4c81f19fd3967abe /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
parentb41896e3eeb5cfb9f906f5d72d9b9c735dc234d4 (diff)
drm/amdgpu: svm bo enable_signal call condition
[why] To support svm bo eviction mechanism. [how] If the BO crated has AMDGPU_AMDKFD_CREATE_SVM_BO flag set, enable_signal callback will be called inside amdgpu_evict_flags. This also causes gutting of the BO by removing all placements, so that TTM won't actually do an eviction. Instead it will discard the memory held by the BO. This is needed for HMM migration to user mode system memory pages. Signed-off-by: Alex Sierra <alex.sierra@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c')
0 files changed, 0 insertions, 0 deletions