]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
drm/amdgpu: Allow P2P access through XGMI
authorFelix Kuehling <felix.kuehling@amd.com>
Wed, 16 Apr 2025 04:19:13 +0000 (00:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Apr 2025 20:47:12 +0000 (16:47 -0400)
commita92741e72f91b904c1d8c3d409ed8dbe9c1f2b26
tree347c85ba67ca67f5df89d6ccfedb928134577653
parent756c85e4d0ddc497b4ad5b1f41ad54e838e06188
drm/amdgpu: Allow P2P access through XGMI

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 372c8d72c3680fdea3fbb2d6b089f76b4a6d596a)
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c