drm/amdgpu: Allow P2P access through XGMI
[ Upstream commit a92741e7 ] If peer memory is accessible through XGMI, allow leaving it in VRAM rather than forcing its migration to GTT on DMABuf attachment. Signed-off-by:Felix Kuehling <felix.kuehling@amd.com> Tested-by:
Hao (Claire) Zhou <hao.zhou@amd.com> Reviewed-by:
Christian König <christian.koenig@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 372c8d72) Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading