diff options
author | Alex Sierra <alex.sierra@amd.com> | 2020-07-28 13:35:32 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-20 21:49:22 -0400 |
commit | eb2cec5537bbab46a319b4b0bcd71c320c382d2b (patch) | |
tree | a6d225083d459622dba04fdc6d80178362d2d13b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
parent | ea53af8a59c89b1bb6743d0956da53eee4cb4cd2 (diff) | |
download | linux-eb2cec5537bbab46a319b4b0bcd71c320c382d2b.tar.gz linux-eb2cec5537bbab46a319b4b0bcd71c320c382d2b.tar.bz2 linux-eb2cec5537bbab46a319b4b0bcd71c320c382d2b.zip |
drm/amdkfd: add svm_bo reference for eviction fence
[why]
As part of the SVM functionality, the eviction mechanism used for
SVM_BOs is different. This mechanism uses one eviction fence per prange,
instead of one fence per kfd_process.
[how]
A svm_bo reference to amdgpu_amdkfd_fence to allow differentiate between
SVM_BO or regular BO evictions. This also include modifications to set the
reference at the fence creation call.
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_object.h')
0 files changed, 0 insertions, 0 deletions