Files
linux/drivers/gpu/drm/amd
Philip Yang e5d3944e0e drm/amdgpu: use spin_lock_irqsave to protect vm_manager.pasid_idr
[ Upstream commit 0a5f49cbf9 ]

amdgpu_vm_get_task_info is called from interrupt handler and sched timeout
workqueue, we should use irq version spin_lock to avoid deadlock.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-03-13 14:04:16 -07:00
..
2017-12-07 11:51:10 -05:00