diff options
author | Christian König <christian.koenig@amd.com> | 2022-05-06 14:08:34 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-26 21:56:34 +0300 |
commit | fab2cc8335839867a3db38f195441b9c7c6460f6 (patch) | |
tree | 3bc3f3f64e986239eca0f5539a287b8e45777aa9 /crypto | |
parent | 62e9bd20035b53ff6c679499c08546d96c6c60a7 (diff) | |
download | linux-fab2cc8335839867a3db38f195441b9c7c6460f6.tar.xz |
drm/amdgpu: add AMDGPU_GEM_CREATE_DISCARDABLE
Add a AMDGPU_GEM_CREATE_DISCARDABLE flag to note that the content of a BO
doesn't needs to be preserved during eviction.
KFD was already using a similar functionality for SVM BOs so replace the
internal flag with the new UAPI.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions