diff options
| author | Tudor Ambarus <[email protected]> | 2021-12-15 11:01:10 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2022-01-05 10:20:03 +0000 |
| commit | 18deddea9184b62941395889ff7659529c877326 (patch) | |
| tree | 544c0402227535f414435f1237fe2a7eccb7ef0b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | dmaengine: at_xdmac: Move the free desc to the tail of the desc list (diff) | |
| download | kernel-18deddea9184b62941395889ff7659529c877326.tar.gz kernel-18deddea9184b62941395889ff7659529c877326.zip | |
dmaengine: at_xdmac: Fix concurrency over xfers_list
Since tx_submit can be called from a hard IRQ, xfers_list must be
protected with a lock to avoid concurency on the list's elements.
Since at_xdmac_handle_cyclic() is called from a tasklet, spin_lock_irq
is enough to protect from a hard IRQ.
Fixes: e1f7c9eee707 ("dmaengine: at_xdmac: creation of the atmel eXtended DMA Controller driver")
Signed-off-by: Tudor Ambarus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
