diff options
author | Philip Yang <Philip.Yang@amd.com> | 2023-04-24 14:46:16 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:26:44 -0400 |
commit | 435af0b919bf9eb78f4e05e8596ebed9ca7885b7 (patch) | |
tree | 3c352d050edcaacdaf543a3723aac713e22a0ba2 /drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | |
parent | 9420a034060a094874091cb6c6257268f08a1999 (diff) |
drm/amdkfd: Optimize svm range map to GPU with XNACK on
With XNACK on if svm_range_set_attr set the range access or
access_in_place attribute, we don't call svm_range_validate_and_map to
update GPU mapping. This avoids prefaulting the range pages on system
memory if the range is not prefetch to VRAM and not mapped to GPUs.
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/amdgpu/gfx_v11_0.c')
0 files changed, 0 insertions, 0 deletions