]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:41:53 +0000 (14:41 +0200)
commitf7292fbb41840c55e9b35aa0c02786dcd0ff4b90
tree6cd8b91596c897d50ac747045cb03abd2786b983
parent722a6972defd8a712cd37450639fcfd88f416b72
drm/amdgpu: Allow P2P access through XGMI

[ Upstream commit a92741e72f91b904c1d8c3d409ed8dbe9c1f2b26 ]

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)
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c