drm/amdgpu: Enable XGMI mapping for peer device
authorshaoyunl <shaoyun.liu@amd.com>
Fri, 22 Feb 2019 21:20:38 +0000 (16:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:48 +0000 (15:36 -0500)
commita690aa0f459eba3e768257a655c82b24d14dcc88
tree9c4d90d696a58b0a35ff9e2eae1fa5e9195dd1e5
parentb1fa8c89556e8d704e9a2e014151c47c64f02e06
drm/amdgpu: Enable XGMI mapping for peer device

Adjust vram base offset for XGMI mapping when update the PT entry so
the address will fall into correct XGMI aperture for peer device

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c