aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2024-04-05 15:46:50 -0400
committerAlex Deucher <[email protected]>2024-04-30 09:44:46 -0400
commit155ce502e9adf9001d6fa35ca85843b7f0e538c7 (patch)
tree6df6d718730cee11eac82044a160c90c8b5d6fa3 /tools/perf/scripts/python/libxed.py
parentc0d6bd3cd209419cc46ac49562bef1db65d90e70 (diff)
drm/amdgpu: Support contiguous VRAM allocation
RDMA device with limited scatter-gather ability requires contiguous VRAM buffer allocation for RDMA peer direct support. Add a new KFD alloc memory flag and store as bo alloc flag AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS. When pin this bo to export for RDMA peerdirect access, this will set TTM_PL_FLAG_CONTIFUOUS flag, and ask VRAM buddy allocator to get contiguous VRAM. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions