Re: [PATCH 1/6] drm/amdgpu: Support contiguous VRAM allocation

2024-04-16 Thread Philip Yang
On 2024-04-15 08:02, Christian König wrote: Am 12.04.24 um 22:12 schrieb Philip Yang: RDMA device with limited scatter-gather capability requires physical address contiguous VRAM buffer for RDMA peer direct access.

Re: [PATCH 1/6] drm/amdgpu: Support contiguous VRAM allocation

2024-04-15 Thread Christian König
Am 12.04.24 um 22:12 schrieb Philip Yang: RDMA device with limited scatter-gather capability requires physical address contiguous VRAM buffer for RDMA peer direct access. Add a new KFD alloc memory flag and store as new GEM bo alloc flag. When pin this buffer object to export for RDMA peerdirect

[PATCH 1/6] drm/amdgpu: Support contiguous VRAM allocation

2024-04-12 Thread Philip Yang
RDMA device with limited scatter-gather capability requires physical address contiguous VRAM buffer for RDMA peer direct access. Add a new KFD alloc memory flag and store as new GEM bo alloc flag. When pin this buffer object to export for RDMA peerdirect access, set AMDGPU_GEM_CREATE_VRAM_CONTIGUO