Re: [PATCH 1/3] drm/amdkfd: Fix SVM_ATTR_PREFERRED_LOC

2021-11-01 Thread philip yang
On 2021-11-01 8:55 a.m., Felix Kuehling wrote: The preferred location should be used as the migration destination whenever it is accessible by the faulting GPU. System memory is always accessible. Peer memory is accessible if it's in the same XGMI hive.

[PATCH 1/3] drm/amdkfd: Fix SVM_ATTR_PREFERRED_LOC

2021-11-01 Thread Felix Kuehling
The preferred location should be used as the migration destination whenever it is accessible by the faulting GPU. System memory is always accessible. Peer memory is accessible if it's in the same XGMI hive. Signed-off-by: Felix Kuehling --- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 14 +++--