]> 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:40:01 +0000 (14:40 +0200)
commitf238c9c15d5fcb495e753bd6edab8f0b257d1c41
tree60ae9dd684cabdbbdcfe38b2d6622094d026c611
parent496464623411abd50622036c08434b2d86f38507
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