commit | 0a5f49cbf9d6ad3721c16f8a6d823363ea7a160f | [log] [tgz] |
---|---|---|
author | Philip Yang <Philip.Yang@amd.com> | Wed Jan 30 15:21:16 2019 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Feb 05 18:10:24 2019 -0500 |
tree | 9d30f4c625e164ab9402f0cb55dc0af1ee9f697c | |
parent | 7e4545d372b560df10fa47281ef0783a479ce435 [diff] |
drm/amdgpu: use spin_lock_irqsave to protect vm_manager.pasid_idr 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>