summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2025-10-15 15:17:54 -0400
committerAlex Deucher <alexander.deucher@amd.com>2025-10-28 09:59:44 -0400
commit22d9e071e5028815accf26956ed0b9634a4c0b8d (patch)
tree9d41e7998aebedf9ddd08194df3732fe717ab7a4 /drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
parent7bb02a34c2ba69bbe0329fc3049c795f7ba66b9a (diff)
drm/amdkfd: Dequeue user queues when process mm released
Move dequeue user queues and destroy user queues from kfd_process_wq_release to mmu notifier release callback, to ensure no system memory access from GPU because the process memory is going to free from CPU after mmu release notifier callback returns. Destroy queue releases the svm prange queue_refcount, this also removes fake flase positive warning message "Freeing queue vital buffer" message if application crash or killed. Suggested-by: Felix Kuehling <felix.kuehling@amd.com> 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/mes_userqueue.c')
0 files changed, 0 insertions, 0 deletions