aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorTudor Ambarus <[email protected]>2021-12-15 11:01:15 +0000
committerVinod Koul <[email protected]>2022-01-05 10:20:04 +0000
commite77e561925df2faf77a41896df24a59141a445c9 (patch)
tree34a2df65e8a8b362d6511907f9bf74a092b1c492 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdmaengine: at_xdmac: Remove a level of indentation in at_xdmac_tasklet() (diff)
downloadkernel-e77e561925df2faf77a41896df24a59141a445c9.tar.gz
kernel-e77e561925df2faf77a41896df24a59141a445c9.zip
dmaengine: at_xdmac: Fix race over irq_status
Tasklets run with interrupts enabled, so we need to protect atchan->irq_status with spin_lock_irq() otherwise the tasklet can be interrupted by the IRQ that modifies irq_status. Move the dev_dbg that prints the irq_status in at_xdmac_handle_cyclic() and lower in at_xdmac_tasklet() where the IRQ is disabled. 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