aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2025-02-18 01:08:29 +0000
committerAlex Deucher <[email protected]>2025-02-27 21:50:04 +0000
commit1b9366c601039d60546794c63fbb83ce8e53b978 (patch)
tree6ef65f8a183ff64f137aa148c13a7d4e63e7bc6a /drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
parentdrm/amdkfd: Remove kfd_process_hw_exception worker (diff)
downloadkernel-1b9366c601039d60546794c63fbb83ce8e53b978.tar.gz
kernel-1b9366c601039d60546794c63fbb83ce8e53b978.zip
drm/amdkfd: KFD release_work possible circular locking
If waiting for gpu reset done in KFD release_work, thers is WARNING: possible circular locking dependency detected #2 kfd_create_process kfd_process_mutex flush kfd release work #1 kfd release work wait for amdgpu reset work #0 amdgpu_device_gpu_reset kgd2kfd_pre_reset kfd_process_mutex Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock((work_completion)(&p->release_work)); lock((wq_completion)kfd_process_wq); lock((work_completion)(&p->release_work)); lock((wq_completion)amdgpu-reset-dev); To fix this, KFD create process move flush release work outside kfd_process_mutex. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c')
0 files changed, 0 insertions, 0 deletions