diff options
| author | Alex Sierra <[email protected]> | 2022-05-17 22:43:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-07-28 20:05:16 +0000 |
| commit | f9af3c16bfe19d145cf0588afa06d7f1070cbe2d (patch) | |
| tree | 36c90cf5d364103744b1b23f6fb86af68b512860 /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | |
| parent | drm/amd/display: fix signedness bug in execute_synaptics_rc_command() (diff) | |
| download | kernel-f9af3c16bfe19d145cf0588afa06d7f1070cbe2d.tar.gz kernel-f9af3c16bfe19d145cf0588afa06d7f1070cbe2d.zip | |
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 <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c')
0 files changed, 0 insertions, 0 deletions
