On Mon, Apr 14, 2025 at 09:48:10AM -0400, Alex Deucher wrote:
On Mon, Apr 14, 2025 at 9:28 AM Sasha Levin <[email protected]> wrote:

From: Christian König <[email protected]>

[ 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 <[email protected]>
Signed-off-by: Christian König <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Tested-by: Pak Nin Lui <[email protected]>
Cc: Simona Vetter <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>

This should not go to stable.  It depends on dmem cgroups.

I'll drop it.

--
Thanks,
Sasha

Reply via email to