Re: [PATCH] drm/amdkfd: Don't over commit vram while xnack is off

2025-02-20 Thread Felix Kuehling
On 2025-02-20 7:00, Emily Deng wrote: > For xnack is off, the application should ensure the vram not overcommit. This is incorrect. SVM ranges in VRAM can always be evicted to system memory even with XNACK off. During the migration the user mode queues are stopped by the MMU notifier. We apply s

[PATCH] drm/amdkfd: Don't over commit vram while xnack is off

2025-02-20 Thread Emily Deng
For xnack is off, the application should ensure the vram not overcommit. Signed-off-by: Emily Deng --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_