[Linaro-mm-sig] [PATCH AUTOSEL 6.13 15/34] drm/amdgpu: allow pinning DMA-bufs into VRAM if all importers can do P2P

Sasha Levin sashal at kernel.org
Sun Apr 27 23:59:21 UTC 2025


On Mon, Apr 14, 2025 at 09:48:10AM -0400, Alex Deucher wrote:
>On Mon, Apr 14, 2025 at 9:28 AM Sasha Levin <sashal at kernel.org> wrote:
>>
>> From: Christian König <christian.koenig at amd.com>
>>
>> [ Upstream commit f5e7fabd1f5c65b2e077efcdb118cfa67eae7311 ]
>>
>> Try pinning into VRAM to allow P2P with RDMA NICs without ODP
>> support if all attachments can do P2P. If any attachment can't do
>> P2P just pin into GTT instead.
>>
>> Acked-by: Simona Vetter <simona.vetter at ffwll.ch>
>> Signed-off-by: Christian König <christian.koenig at amd.com>
>> Signed-off-by: Felix Kuehling <felix.kuehling at amd.com>
>> Reviewed-by: Felix Kuehling <felix.kuehling at amd.com>
>> Tested-by: Pak Nin Lui <pak.lui at amd.com>
>> Cc: Simona Vetter <simona.vetter at ffwll.ch>
>> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
>> Signed-off-by: Sasha Levin <sashal at kernel.org>
>
>This should not go to stable.  It depends on dmem cgroups.

I'll drop it.

-- 
Thanks,
Sasha


More information about the amd-gfx mailing list