re-add workqueue and make WQ or tasklet selectable by module parameter

default to WQ for ARM64
(some SOCs use only one little A53 core for all MSI IRQs and
tasklets on the same core cannot process more than 10 TS streams
in uncached coherent memory)
This commit is contained in:
internal
2023-11-03 13:33:57 +01:00
parent 3ef783c393
commit d63916cba1
2 changed files with 73 additions and 78 deletions

View File

@@ -202,6 +202,7 @@ struct ddb_dma {
u32 div;
u32 bufval;
struct work_struct work;
struct tasklet_struct tasklet;
spinlock_t lock; /* DMA lock */
wait_queue_head_t wq;