aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/kfd_svm.h
diff options
context:
space:
mode:
authorGravatar Philip Yang <Philip.Yang@amd.com> 2023-08-01 11:38:32 -0400
committerGravatar Alex Deucher <alexander.deucher@amd.com> 2023-09-20 16:25:17 -0400
commitc99b16128082de519975aa147d9da3e40380de67 (patch)
treee64d2aef05fc84591b222ddaa5692434c30a1b9d /drivers/gpu/drm/amd/amdkfd/kfd_svm.h
parentdrm/amdgpu: Add more fields to IP version (diff)
downloadlinux-c99b16128082de519975aa147d9da3e40380de67.tar.gz
linux-c99b16128082de519975aa147d9da3e40380de67.tar.bz2
linux-c99b16128082de519975aa147d9da3e40380de67.zip
drm/amdkfd: Remove svm range validated_once flag
The validated_once flag is not used after the prefault was removed, The prefault was needed to ensure validate all system memory pages at least once before mapping or migrating the range to GPU. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_svm.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_svm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_svm.h b/drivers/gpu/drm/amd/amdkfd/kfd_svm.h
index 78bfb83cd0c0..5fd958a97a28 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_svm.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_svm.h
@@ -132,7 +132,6 @@ struct svm_range {
struct list_head child_list;
DECLARE_BITMAP(bitmap_access, MAX_GPU_INSTANCE);
DECLARE_BITMAP(bitmap_aip, MAX_GPU_INSTANCE);
- bool validated_once;
bool mapped_to_gpu;
bool is_error_flag;
};