diff options
author | Philip Yang <Philip.Yang@amd.com> | 2023-01-26 18:45:32 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 10:36:24 -0400 |
commit | 2046ed6c8aa951e4ae83c5022bb0a7c777386097 (patch) | |
tree | 57fcd15fbfae21c33d97596f52893d53b8129160 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 53c5692e7a3c8e8eed3ec6b876a3c982d217a5d7 (diff) |
drm/amdkfd: SVM range allocation support memory partition
Pass kfd node->xcp->mem_id to amdgpu bo create parameter mem_id_plus1 to
allocate new svm_bo on the specified memory partition.
This is only for dGPU mode as we don't migrate with APU mode.
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_object.c')
0 files changed, 0 insertions, 0 deletions