Searched hist:f9af3c16bfe19d145cf0588afa06d7f1070cbe2d (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | diff f9af3c16bfe19d145cf0588afa06d7f1070cbe2d Wed May 18 00:43:06 CEST 2022 Alex Sierra <alex.sierra@amd.com> drm/amdkfd: track unified memory reservation with xnack off
[WHY] Unified memory with xnack off should be tracked, as userptr mappings and legacy allocations do. To avoid oversuscribe system memory when xnack off. [How] Exposing functions reserve_mem_limit and unreserve_mem_limit to SVM API and call them on every prange creation and free.
Signed-off-by: Alex Sierra <alex.sierra@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|