With the Linux 5.2 kernel an AMD-supplied change by AMDGPU developer Christian König allows for supporting peer-to-peer DMA between any devices on AMD Zen systems…
Source: Phoronix – Linux 5.2 To Allow P2P DMA Between Any Devices On AMD Zen Systems