commit | a010d98a78c05652f9f2860f537efdcd65507c6d | [log] [tgz] |
---|---|---|
author | Alex Sierra <alex.sierra@amd.com> | Thu May 06 13:06:54 2021 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Jul 01 00:05:41 2021 -0400 |
tree | 993b87c385138aa6635357c1cc31af3091d0b347 | |
parent | 8c21fc49a8e637bee5c868dafbd7e3c885a926bd [diff] |
drm/amdkfd: set owner ref to svm range prefault svm_range_prefault is called right before migrations to VRAM, to make sure pages are resident in system memory before the migration. With partial migrations, this reference is used by hmm range get pages to avoid migrating pages that are already in the same VRAM domain. Signed-off-by: Alex Sierra <alex.sierra@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>