diff options
author | Philip Yang <Philip.Yang@amd.com> | 2024-04-05 16:02:50 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-30 09:59:51 -0400 |
commit | d53ce02352058639cacccc88cdbdbf48f1ee3b5a (patch) | |
tree | 9a2c5c209e39e9e0efc15ccd11741c7b40766d9e /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 01d6606beca0b7e84ce9d7a8d5cd4a9a850a00d0 (diff) |
drm/amdkfd: Evict BO itself for contiguous allocation
If the BO pages pinned for RDMA is not contiguous on VRAM, evict it to
system memory first to free the VRAM space, then allocate contiguous
VRAM space, and then move it from system memory back to VRAM.
v6: user context should use interruptible call (Felix)
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions