OSDN Git Service

drm/amdkfd: new range accessible by all GPUs
authorPhilip Yang <Philip.Yang@amd.com>
Wed, 5 May 2021 14:32:27 +0000 (10:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:29:37 +0000 (22:29 -0400)
commita9a76beed265444a18cb10b0cad58aa1f2e99cea
treedba333f5a1fe3456292c2a6bfcec0c6190f37626
parent6e6fe7c9285e96b28f6e297805edbc5eaac23316
drm/amdkfd: new range accessible by all GPUs

If xnack is on, new range is created to recover retry vm fault or
created by SVM API calls, set all GPUs have access to the range.

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>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c